to-buffer@1.2.2

Pass in a string, array, Buffer, Data View, or Uint8Array, and get a Buffer back.

MIT 2025-09-24
安装 (1.2.2)
npm install to-buffer@1.2.2
yarn add to-buffer@1.2.2
pnpm add to-buffer@1.2.2
bun add to-buffer@1.2.2
dependencies (3)
包名版本要求
isarray ^2.0.5
safe-buffer ^5.2.1
typed-array-buffer ^1.0.3
devDependencies (9)
包名版本要求
@ljharb/eslint-config ^21.2.0
auto-changelog ^2.5.0
available-typed-arrays ^1.0.7
encoding ^0.1.13
eslint =8.8.0
for-each ^0.3.5
npmignore ^0.3.1
nyc ^10.3.2
tape ^5.9.0
版本列表
1.2.2 2025-09-24
1.2.1 2025-06-20
1.2.0 2025-06-17
1.1.1 2018-04-26
1.1.0 2017-04-12
1.0.1 2016-02-15
1.0.0 2016-02-15