Numeral.js
Keep, but not for new work. 8th of 8 numbers and money.
Numeral.js formats and unformats numbers with pattern strings such as '0,0.00' and '$0.0a'. Its last release, 2.0.6, came out in March 2017, and it does not do exact decimal math. Keep it where it already runs. For new work, use native Intl.NumberFormat for formatting, numbro if you need Numeral-style patterns, or decimal.js, big.js or Dinero.js for exact math.
Best for: Existing codebases that already use Numeral format strings and cannot migrate yet.
Scores
Overall3.2
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 2.5, likely 1.5 to 3.5
It still works for simple formatting and many old codebases use it. But it has had no release in over nine years, it has open correctness bugs and no bundled types, and Intl.NumberFormat or numbro now cover its job. It does no exact decimal math, so it is the weakest pick in this category. Keep it where it runs and choose something else for new work.
- npm latestPublishedAt: Last publish 2017-03-27
- npm downloads ratio: 2.17, below the 4.1 median
- github.com/adamwdraper/Numeral-js/issues: Open NaN and rounding bugs, plus questions about abandonment
- npm-compare.com/accounting,currency.js,format-number,intl,numbro,numeral: Recommends migrating to numbro or native Intl
GPT-6.2 Sol: 3.8, likely 2.8 to 4.9
Numeral.js is worth keeping where existing format strings already work. For new projects, Intl.NumberFormat covers standard localized display, decimal.js handles arbitrary-precision decimals, and Dinero.js provides currency-aware arithmetic. The 2017 release date and unresolved formatting bugs weigh heavily, while compatibility with existing patterns still gives it value in some projects.
- smashingmagazine.com/2026/08/how-baseline-can-help-ship-less-javascript: Independent comparison demonstrates native formatting alternatives
- mikemcl.github.io/decimal.js: Arbitrary-precision decimal arithmetic
- dinerojs.com: Currency-aware amounts stored in minor units
- github.com/adamwdraper/Numeral-js/issues/563: Unresolved small-number formatting bug
- npm latestPublishedAt: Latest stable package published in March 2017
Needed by many5.4
How many developers need a tool for this job?
Claude Opus 5.5: 6.0, likely 5.0 to 7.0
Many web apps need to format numbers, currency and percentages for display. Numeral only formats and does not do exact decimal math, so it covers half of the category's job. Most of that half is now done by the built-in Intl API, which leaves fewer developers who need a library.
- developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/NumberFormat: The native API covers locale, currency, percent and compact formatting
- github description: Described as a library for formatting and manipulating numbers
GPT-6.2 Sol: 4.7, likely 3.6 to 5.9
Number display is common in JavaScript apps, and Numeral.js works across browser and Node.js projects. Built-in Intl.NumberFormat covers most routine display needs, so the case for adding Numeral.js is strongest when an app needs its pattern syntax or locale-aware parsing. The share of projects that need those features is hard to measure.
- raw.githubusercontent.com/adamwdraper/Numeral-js/2.0.6/numeral.js: Browser and Node support, pattern formatting, and locale-aware parsing
- smashingmagazine.com/2026/08/how-baseline-can-help-ship-less-javascript: Independent comparison shows native coverage for standard formatting
Helps a lot4.2
How well does it do the job for those who need it?
Claude Opus 5.5: 3.5, likely 2.5 to 4.5
The format patterns are handy and it can unformat strings, but its arithmetic uses plain floats, and the README says it does not fix floating-point errors. Open issues report NaN on small and long numbers and wrong rounding. There are no bundled types, and locale handling relies on old global registration. Intl.NumberFormat and numbro do the job better today.
- github.com/adamwdraper/Numeral-js/issues: Open bugs: NaN on formatting (2025), wrong small-number math, rounding errors
- npm-compare.com/accounting,currency.js,format-number,intl,numbro,numeral: Notes floating-point risk and outdated locale data
- npm hasTypes: No bundled TypeScript types
GPT-6.2 Sol: 4.8, likely 3.8 to 5.9
Version 2.0.6 offers compact format strings and useful display options, including custom rounding. Its arithmetic still uses binary floating point, and users report that some fixed-decimal formats return NaN for small values. TypeScript users can install community declarations, but the available evidence gives more confidence about specific correctness limits than comparative speed.
- raw.githubusercontent.com/adamwdraper/Numeral-js/2.0.6/numeral.js: Stable implementation shows formatting options and Number-based arithmetic
- github.com/adamwdraper/Numeral-js/issues/563: Users reproduce NaN when formatting small numbers
- npm hasTypes: Stable package does not bundle type declarations
- github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/numeral/index.d.ts: Separate community TypeScript declarations
Holds up over time2.2
Will it still be a good choice in two years?
Claude Opus 5.5: 1.5, likely 0.5 to 2.5
The last release was in 2017, there were no commits in the last year, and 153 pull requests are still open. Users have filed issues asking that it be marked deprecated or abandoned. Elastic keeps its own fork, and numbro continues the same API, so the ecosystem has moved away from it.
- github latestRelease: 2.0.6, published 2017-03-27
- github commitsLastYear: 0 commits and 0 releases in the last year
- github.com/adamwdraper/Numeral-js/issues: Issues #713 and #787 ask whether the project is abandoned
- scorecard Maintained: Maintained check scores 0
GPT-6.2 Sol: 2.8, likely 1.7 to 4.2
The latest stable release is from 2017, and the repository recorded zero commits on its default branch in the past year despite a large backlog. The maintainer opened a TypeScript migration pull request in February 2026, which shows some activity and leaves the timing of a release uncertain. Dinero.js and bignumber.js both shipped releases in 2026.
- github commitsLastYear, openIssues, and openPullRequests: Zero default-branch commits, 191 open issues, and 153 open pull requests
- github.com/adamwdraper/Numeral-js/releases: 2.0.6 remains the latest stable release
- github.com/adamwdraper/Numeral-js/pull/798: Maintainer's February 2026 TypeScript migration remains open
- peers latestPublishedAt: Dinero.js and bignumber.js released in 2026
Used widely4.9
How many use it, and is that growing?
Claude Opus 5.5: 5.0, likely 4.0 to 6.0
It has 13.3M downloads in 4 weeks and about 29.7k dependent repos, which is a large installed base, mostly older code. Downloads grew 2.2x in a year, well below the 4.1x median, so it is losing share. It is far behind decimal.js and big.js, and close to Math.js in dependents.
- npm downloadsLast4Weeks: 13.27M now vs 6.11M a year ago, a ratio of 2.17 against a 4.1 median
- dependents: 29,682 repos and 2,580 packages
- github stars: 9.7k stars, built up mostly years ago
GPT-6.2 Sol: 4.8, likely 3.7 to 5.9
Ecosyste.ms found about 29,700 dependent repositories and 2,580 dependent packages, well ahead of Numbro and far behind the leading decimal libraries. Four-week npm downloads rose from 6.1 million to 13.3 million, or 2.17×, below the catalog median of 4.1×. That points to a loss of relative ground, with room for uncertainty because downloads include automated and transitive installs and the repository count covers only part of GitHub.
- dependents repos and packages: 29,682 indexed repositories and 2,580 indexed packages
- npm downloadsLast4Weeks and downloadsSame4WeeksYearAgo: 13.27 million versus 6.11 million downloads
- medianDownloadsRatio: 2.17× growth trails the 4.1× catalog median
- peers dependentRepos: Numbro has 2,390 indexed dependent repositories and decimal.js has 957,978
Vouched for4.2
Who stands behind it being good?
Claude Opus 5.5: 3.0, likely 2.0 to 4.5
Its past use was broad, and Elastic forked it for Kibana, but that points to Elastic leaving upstream rather than endorsing it. Current comparisons advise against it for new projects. It has no recent Hacker News or Bluesky attention and no current independent endorsements.
- npm-compare.com/accounting,currency.js,format-number,intl,numbro,numeral: Says 'Do not use in new projects'
- deepwiki.com/elastic/numeral-js: Elastic keeps its own fork for Kibana
- hackerNews/bluesky: 0 stories and 0 posts
GPT-6.2 Sol: 5.3, likely 4.1 to 6.5
Redash and Elastic UI still declare Numeral.js as a direct dependency. Redash reverted a switch to Numbro after a rounding regression, and Kibana now maintains its own implementation of the original pattern syntax. The State of JavaScript survey offers no project-specific satisfaction measure, and recent independent performance evidence is sparse.
- github.com/getredash/redash/blob/master/package.json: Redash still declares numeral 2.0.6
- github.com/elastic/eui/blob/main/packages/eui/package.json: Elastic UI still declares numeral 2.0.6
- github.com/getredash/redash/pull/6595: Redash restored Numeral.js after a Numbro rounding regression
- elastic.co/docs/explore-analyze/numeral-formatting: Kibana maintains its own implementation of the syntax
- 2025.stateofjs.com/en-US/other-tools: No Numeral.js satisfaction or retention figures
Safe6.1
How safe is it to depend on?
Claude Opus 5.5: 6.0, likely 4.5 to 7.0
It has zero dependencies, no known advisories and an MIT licence, so the direct attack surface is small. But the Scorecard is 2.5, there is no security policy or code review, and nobody would ship a fix quickly if a problem were found. A long-dormant package is also a takeover risk.
- advisories total: 0 advisories
- npm dependencies: 0 runtime dependencies
- scorecard score: 2.5 overall; Security-Policy, Maintained and SAST all score 0
GPT-6.2 Sol: 6.2, likely 4.9 to 7.5
The MIT license is permissive, the package has zero runtime dependencies, and OSV lists no advisories. OpenSSF Scorecard gives it 2.5 out of 10, with weak review and zero scores for maintenance and security policy. The long release gap and limited evidence about publishing safeguards make its response to a future issue hard to predict.
- npm dependencies and license: Zero runtime dependencies and an MIT license
- advisories total: Zero OSV advisories
- scorecard score and checks: 2.5 overall, weak review, and publishing checks unscored
- github.com/adamwdraper/Numeral-js/security/policy: GitHub detects no security policy
- github.com/adamwdraper/Numeral-js/releases: Stable release history ends in 2017
Good
- Short pattern strings ('0.0a', '0,0.00', '0%', '0b') cover abbreviations, percentages, bytes and currency in one call.
- It has zero runtime dependencies, no known advisories and an MIT licence.
- It can unformat strings back to numbers, which Intl.NumberFormat cannot do.
- The API is old and stable, so AI agents and older code samples know it well.
Bad
- There has been no release since 2017, and users have opened issues asking whether the project is abandoned.
- Its math is plain floating point, and open issues report NaN on very small or very long numbers and rounding errors.
- It ships no types of its own, and its locale data is old and kept in global state.
- Native Intl.NumberFormat and the numbro fork now cover the same formatting with active maintenance.
The numbers
- npm downloads, 4 weeks
- 13M ×2.2 in a year
- GitHub stars
- 9.7k
- Commits, 12 months
- 0
- npm version
- 2.0.6 Mar 2017
- Versions, 12 months
- 0
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- 2.5 out of 10, Nov 2026
- Licence
- MIT
Read on 21 November 2026 from GitHub (adamwdraper/Numeral-js), npm (numeral), OSV and the OpenSSF Scorecard.