Skip to content
JS
Package

buffer-from

A [ponyfill](https://ponyfill.com) for `Buffer.from`, uses native implementation if available.

v1.1.2, 29 Jul 2021MIT-Types: None
$ npm install buffer-from

Key numbers

As of 25 Sept 2026
Weekly downloads
83.4m
+56% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
5 years ago
v1.1.2
GitHub stars
25
9 forks
Open issues / PRs
1 / 0
Contributors
2
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
050m100m150mSept 2025Mar 2026Sept 2026High 109.1m (18 Aug 2026)Low 30.3m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

83,401,453 downloads last week, 362,995,435 in the last month. The 12-month change of +56% 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.1.2, 29 Jul 20215 years ago
First published
18 Aug 2016
Last push to GitHub
29 Jul 20211,883 days before the snapshot
Repository archived
No
Open issues
1
Open pull requests
0
Commits, last 52 weeks
0
Dependents on npm
1,860

Major versions

  1. v1 first release 1.0.0, 12 Mar 2018
  2. v0 first release 0.1.0, 18 Aug 2016

Recent releases

VersionPublished
1.1.229 Jul 2021
1.1.131 Jul 2018
1.1.029 May 2018
1.0.012 Mar 2018
0.1.212 Mar 2018
0.1.116 Oct 2016
0.1.018 Aug 2016
Module format
-Not determined from package.json
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
4.9 kB
Dependencies (0)
None
npm install buffer-from
  • jsDelivrhttps://cdn.jsdelivr.net/npm/buffer-from@1.1.2/
  • unpkghttps://unpkg.com/buffer-from@1.1.2/
  • esm.shhttps://esm.sh/buffer-from@1.1.2
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.