Skip to content
JS
Package

@stdlib/buffer-from-string

Allocate a buffer containing a provided string.

v0.2.3, 7 Feb 2026Apache-2.0CommonJSTypes: BundledTypeScript tooling
$ npm install @stdlib/buffer-from-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

  1. v0 first release 0.0.1, 14 Jun 2021

Recent releases

VersionPublished
0.2.37 Feb 2026
0.2.227 Jul 2024
0.2.122 Feb 2024
0.2.014 Feb 2024
0.1.14 Oct 2023
0.1.022 Sept 2023
0.0.812 Jul 2022
0.0.716 Feb 2022
0.0.622 Aug 2021
0.0.56 Jul 2021
0.0.427 Jun 2021
0.0.316 Jun 2021
0.0.215 Jun 2021
0.0.114 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
  • jsDelivrhttps://cdn.jsdelivr.net/npm/@stdlib/buffer-from-string@0.2.3/
  • unpkghttps://unpkg.com/@stdlib/buffer-from-string@0.2.3/
  • esm.shhttps://esm.sh/@stdlib/buffer-from-string@0.2.3
PackageWeekly downloadsGzipLast releaseModuleComparison
@opentf/std10.8k-13 days agoESM + CommonJS-
typical10.2m-1 year agoESM + CommonJS-
inspect-with-kind3.3m-8 years ago--
dropbox156.9k-2 days agoESM + CommonJS-
@launchdarkly/session-replay84.7k-9 days agoESM only-
mollitia5.5k-1 year agoESM + CommonJS-
Sources: npm registry, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.