Type definitions are available in the @types/buffer-from package


  • Version 1.1.2
  • Published
  • 5.05 kB
  • No dependencies
  • MIT license


npm i buffer-from
yarn add buffer-from
pnpm add buffer-from


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

Dependencies (0)

No dependencies.

Dev Dependencies (1)

Peer Dependencies (0)

No peer dependencies.


To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/buffer-from.

  • Markdown
  • HTML
    <a href="https://www.jsdocs.io/package/buffer-from"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>