Numbers and money
Calculate exactly with decimals and money, and format numbers. We rate 8; decimal.js leads with 7.5 out of 10.
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.
| Project | Downloads, 4 weeks | In a year | GitHub stars | Commits, 12 months | Last npm release | Advisories, 24 months |
|---|---|---|---|---|---|---|
| decimal.js | 557M | ×4.4 | 7.3k | 4 | Jul 2025 | 0 |
| bignumber.js | 360M | ×4.1 | 7k | 29 | Jul 2026 | 0 |
| Dinero.js | 3.9M | ×3.7 | 6.8k | 207 | Mar 2026 | 0 |
| big.js | 173M | +73% | 5.2k | 0 | Apr 2025 | 0 |
| Math.js | 22M | ×3.4 | 15k | 62 | Apr 2026 | 2 |
| currency.js | 3.8M | ×2.2 | 3.4k | 0 | May 2021 | 0 |
| Numbro | 3.1M | +84% | 1.1k | 0 | Apr 2024 | 0 |
| Numeral.js | 13M | ×2.2 | 9.7k | 0 | Mar 2017 | 0 |