Key numbers
As of 25 Sept 2026
- Weekly downloads
- 15m
- +55% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 3
- Direct, from package.json
- Last release
- 11 months ago
- v1.2.2
- GitHub stars
- 31
- 4 forks
- Open issues / PRs
- 1 / 0
- Contributors
- -
- Commits, last 52 weeks
- 4
Downloads
Last week 2026-09-15 to 2026-09-21
15,010,119 downloads last week, 73,356,707 in the last month. The 12-month change of +55% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 07 in total
- Latest version
- 1.2.2, 24 Sept 202511 months ago
- First published
- 15 Feb 2016
- Last push to GitHub
- 16 Apr 2026162 days before the snapshot
- Repository archived
- No
- Open issues
- 1
- Open pull requests
- 0
- Commits, last 52 weeks
- 4
- Dependents on npm
- 66
Major versions
- v1 first release 1.0.0, 15 Feb 2016
Recent releases
| Version | Published |
|---|---|
| 1.2.2 | 24 Sept 2025 |
| 1.2.1 | 20 Jun 2025 |
| 1.2.0 | 17 Jun 2025 |
| 1.1.1 | 26 Apr 2018 |
| 1.1.0 | 12 Apr 2017 |
| 1.0.1 | 15 Feb 2016 |
| 1.0.0 | 15 Feb 2016 |
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- >= 0.4
- Runtimes
- -
- Unpacked size (npm)
- 14 kB
- Dependencies (3)
isarraysafe-buffertyped-array-buffer
npm install to-buffer- jsDelivr
https://cdn.jsdelivr.net/npm/to-buffer@1.2.2/ - unpkg
https://unpkg.com/to-buffer@1.2.2/ - esm.sh
https://esm.sh/to-buffer@1.2.2
Indexability: Not indexed (discovery only): no category.