Package
str2buf
isomorphic string <=> buffer in 198 bytes
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 131.6k
- +41% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 8 years ago
- v1.3.0
- GitHub stars
- 0
- 0 forks
- Open issues / PRs
- 0 / 0
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
131,607 downloads last week, 675,866 in the last month. The 12-month change of +41% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- -
- Latest version
- 1.3.0, 8 Feb 20188 years ago
- First published
- -
- Last push to GitHub
- 8 Feb 20183,151 days before the snapshot
- Repository archived
- No
- Open issues
- 0
- Open pull requests
- 0
- Commits, last 52 weeks
- 0
- Dependents on npm
- 13
Major versions
-
Recent releases
-
- Module format
- ESM + CommonJSFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 6.8 kB
- Dependencies (0)
- None
npm install str2buf- jsDelivr
https://cdn.jsdelivr.net/npm/str2buf@1.3.0/ - unpkg
https://unpkg.com/str2buf@1.3.0/ - esm.sh
https://esm.sh/str2buf@1.3.0
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| underscore.string | 2.4m | - | 4 years ago | CommonJS | - |
| string-pixel-width | 78.9k | - | 3 years ago | CommonJS | - |
| strip-bom-string | 7.6m | - | 9 years ago | CommonJS | - |
| is-string | 67.9m | - | 1 year ago | CommonJS | - |
| split-string | 11.6m | - | 7 years ago | CommonJS | - |
Indexability: Indexed.