Skip to content
JS
Package

decimal.js

An arbitrary-precision Decimal type for JavaScript.

v10.6.0, 6 Jul 2025MITESM + CommonJSTypes: BundledNumbers and maths
$ npm install decimal.js

Key numbers

As of 25 Sept 2026
Weekly downloads
63.9m
+142% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
1 year ago
v10.6.0
GitHub stars
7.3k
499 forks
Open issues / PRs
16 / 6
Contributors
23
Commits, last 52 weeks
4

Downloads

Last week 2026-09-15 to 2026-09-21
025m50m75m100mSept 2025Mar 2026Sept 2026High 85.1m (25 Aug 2026)Low 17.1m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

63,921,492 downloads last week, 311,189,047 in the last month. The 12-month change of +142% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
053 in total
Latest version
10.6.0, 6 Jul 20251 year ago
First published
2 Apr 2014
Last push to GitHub
30 Aug 202625 days before the snapshot
Repository archived
No
Open issues
16
Open pull requests
6
Commits, last 52 weeks
4
Dependents on npm
4,053

Major versions

  1. v10 first release 10.0.0, 10 Mar 2018
  2. v9 first release 9.0.0, 14 Dec 2017
  3. v8 first release 8.0.0, 10 Dec 2017
  4. v7 first release 7.0.0, 9 Nov 2016
  5. v6 first release 6.0.0, 30 Jun 2016
  6. v5 first release 5.0.0, 25 Jan 2016
  7. v4 first release 4.0.0, 10 Nov 2014
  8. v3 first release 3.0.0, 4 Jun 2014
  9. v2 first release 2.0.0, 10 Apr 2014
  10. v1 first release 1.0.0, 2 Apr 2014

Recent releases

VersionPublished
10.6.06 Jul 2025
10.5.023 Jan 2025
10.4.34 Dec 2022
10.4.212 Oct 2022
10.4.116 Sept 2022
10.4.014 Aug 2022
10.3.125 Jun 2021
10.3.022 Jun 2021
10.2.128 Sept 2020
10.2.08 May 2019
10.1.127 Feb 2019
10.0.213 Dec 2018
10.0.124 May 2018
10.0.010 Mar 2018
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
278 kB
Dependencies (0)
None
npm install decimal.js

CDN

jsDelivr: 9.4m requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/decimal.js@10.6.0/
  • unpkghttps://unpkg.com/decimal.js@10.6.0/
  • esm.shhttps://esm.sh/decimal.js@10.6.0
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Indexed.