Package
@stdlib/buffer-from-string
Allocate a buffer containing a provided string.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 341.1k
- - over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 5
- Direct, from package.json
- Last release
- 7 months ago
- v0.2.3
- GitHub stars
- 2
- 0 forks
- Open issues / PRs
- 0 / 0
- Contributors
- -
- Commits, last 52 weeks
- 10
No weekly download data in the snapshot.
341,104 downloads last week, 1,799,299 in the last month. No 52-week series has been fetched yet.
- Releases, last 12 months
- 114 in total
- Latest version
- 0.2.3, 7 Feb 20267 months ago
- First published
- 14 Jun 2021
- Last push to GitHub
- 10 Sept 202615 days before the snapshot
- Repository archived
- No
- Open issues
- 0
- Open pull requests
- 0
- Commits, last 52 weeks
- 10
- Dependents on npm
- 77
Major versions
- v0 first release 0.0.1, 14 Jun 2021
Recent releases
| Version | Published |
|---|---|
| 0.2.3 | 7 Feb 2026 |
| 0.2.2 | 27 Jul 2024 |
| 0.2.1 | 22 Feb 2024 |
| 0.2.0 | 14 Feb 2024 |
| 0.1.1 | 4 Oct 2023 |
| 0.1.0 | 22 Sept 2023 |
| 0.0.8 | 12 Jul 2022 |
| 0.0.7 | 16 Feb 2022 |
| 0.0.6 | 22 Aug 2021 |
| 0.0.5 | 6 Jul 2021 |
| 0.0.4 | 27 Jun 2021 |
| 0.0.3 | 16 Jun 2021 |
| 0.0.2 | 15 Jun 2021 |
| 0.0.1 | 14 Jun 2021 |
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- >=0.10.0
- Runtimes
- -
- Unpacked size (npm)
- 35 kB
- Dependencies (5)
@stdlib/buffer-ctor@stdlib/string-format@stdlib/assert-is-string@stdlib/assert-is-function@stdlib/error-tools-fmtprodmsg
npm install @stdlib/buffer-from-string- jsDelivr
https://cdn.jsdelivr.net/npm/@stdlib/buffer-from-string@0.2.3/ - unpkg
https://unpkg.com/@stdlib/buffer-from-string@0.2.3/ - esm.sh
https://esm.sh/@stdlib/buffer-from-string@0.2.3
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| @opentf/std | 10.8k | - | 13 days ago | ESM + CommonJS | - |
| typical | 10.2m | - | 1 year ago | ESM + CommonJS | - |
| inspect-with-kind | 3.3m | - | 8 years ago | - | - |
| dropbox | 156.9k | - | 2 days ago | ESM + CommonJS | - |
| @launchdarkly/session-replay | 84.7k | - | 9 days ago | ESM only | - |
| mollitia | 5.5k | - | 1 year ago | ESM + CommonJS | - |
Indexability: Indexed.