Elestia Open Source Ratings

Numbers and money

Calculate exactly with decimals and money, and format numbers. We rate 8; decimal.js leads with 7.5 out of 10.

7.5decimal.jsProjects that need exact decimal arithmetic with set precision and advanced math functions, such as finance, pricing or scientific code.5.68.25.67.97.67.1
7.3bignumber.jsProjects that need exact decimal math with fixed decimal places, built-in number formatting or non-decimal bases, and do not need a full money model.4.87.66.66.86.57.1
7.2Dinero.jsTypeScript teams that build billing, checkout or accounting features and want currency-safe money values and lossless allocation, not raw decimal math.4.47.56.54.35.17.3
6.5big.jsProjects that need small, exact decimal arithmetic (add, multiply, divide, round) for prices or totals, with the smallest possible bundle.4.97.05.07.06.06.8
5.8Math.jsApps that need user-entered formulas, units, matrices or fractions alongside some exact decimal math.4.86.66.95.65.96.2
4.4currency.jsSmall apps that need quick, readable dollar-and-cent arithmetic and display, without strict accounting rules.4.75.12.74.13.96.8
3.8NumbroProjects that already use numbro or Handsontable and want Numeral-style format strings and unformat parsing.4.65.52.63.73.85.9
3.2Numeral.jsExisting codebases that already use Numeral format strings and cannot migrate yet.5.44.22.24.94.26.1

The numbers

Read from GitHub, npm and the OSV advisory database on 21 November 2026. Downloads also count build servers and installs by other tools, and they grow for almost every package: for the median project we rate, they are ×4.1 of a year before.

ProjectDownloads, 4 weeksIn a yearGitHub starsCommits, 12 monthsLast npm releaseAdvisories, 24 months
decimal.js557M×4.47.3k4Jul 20250
bignumber.js360M×4.17k29Jul 20260
Dinero.js3.9M×3.76.8k207Mar 20260
big.js173M+73%5.2k0Apr 20250
Math.js22M×3.415k62Apr 20262
currency.js3.8M×2.23.4k0May 20210
Numbro3.1M+84%1.1k0Apr 20240
Numeral.js13M×2.29.7k0Mar 20170