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 |