Package
buf-compare
Node.js `Buffer.compare()` ponyfill
Deprecated on npm
Just use `Buffer.compare()`. It has been available since Node.js 0.12.Key numbers
As of 25 Sept 2026
- Weekly downloads
- 464.1k
- +67% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 8 years ago
- v2.0.0
- GitHub stars
- 8
- 2 forks
- Open issues / PRs
- 0 / 0
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
464,051 downloads last week, 2,124,825 in the last month. The 12-month change of +67% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 03 in total
- Latest version
- 2.0.0, 24 Sept 20188 years ago
- First published
- 9 May 2015
- Last push to GitHub
- 23 Jan 20212,070 days before the snapshot
- Repository archived
- Yes
- Open issues
- 0
- Open pull requests
- 0
- Commits, last 52 weeks
- 0
- Dependents on npm
- -
Major versions
- v2 first release 2.0.0, 24 Sept 2018
- v1 first release 1.0.0, 9 May 2015
Recent releases
| Version | Published |
|---|---|
| 2.0.0 | 24 Sept 2018 |
| 1.0.1 | 30 Sept 2016 |
| 1.0.0 | 9 May 2015 |
- Module format
- -Not determined from package.json
- TypeScript types
- None
- Node.js engine range
- >=0.10.0
- Runtimes
- -
- Unpacked size (npm)
- 3.2 kB
- Dependencies (0)
- None
npm install buf-compare- jsDelivr
https://cdn.jsdelivr.net/npm/buf-compare@2.0.0/ - unpkg
https://unpkg.com/buf-compare@2.0.0/ - esm.sh
https://esm.sh/buf-compare@2.0.0
Indexability: Not indexed (discovery only): deprecated.