Package
approximate-number
Converts numbers into a more human-friendly format, similar to `ls`'s `--human-readable` flag (`ls -lh`) or Stack Overflow's reputation numbers. For example, 123456 becomes '123k'.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 42.3k
- +242% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 6 months ago
- v3.0.1
- GitHub stars
- 39
- 6 forks
- Open issues / PRs
- 3 / 0
- Contributors
- -
- Commits, last 52 weeks
- 26
Downloads
Last week 2026-09-15 to 2026-09-21
42,269 downloads last week, 177,558 in the last month. The 12-month change of +242% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- -
- Latest version
- 3.0.1, 21 Mar 20266 months ago
- First published
- -
- Last push to GitHub
- 13 Sept 202611 days before the snapshot
- Repository archived
- No
- Open issues
- 3
- Open pull requests
- 0
- Commits, last 52 weeks
- 26
- Dependents on npm
- 25
Major versions
-
Recent releases
-
- Module format
- ESM onlyFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 8.7 kB
- Dependencies (0)
- None
npm install approximate-number- jsDelivr
https://cdn.jsdelivr.net/npm/approximate-number@3.0.1/ - unpkg
https://unpkg.com/approximate-number@3.0.1/ - esm.sh
https://esm.sh/approximate-number@3.0.1
Indexability: Indexed.