morphit/node_modules/base64-arraybuffer
2026-07-30 14:07:35 -07:00
..
dist v1.9.8: BLURT/USD source of truth (api.blurt.blog primary) + guided node setup 2026-07-30 14:07:35 -07:00
CHANGELOG.md v1.9.8: BLURT/USD source of truth (api.blurt.blog primary) + guided node setup 2026-07-30 14:07:35 -07:00
LICENSE v1.9.8: BLURT/USD source of truth (api.blurt.blog primary) + guided node setup 2026-07-30 14:07:35 -07:00
package.json v1.9.8: BLURT/USD source of truth (api.blurt.blog primary) + guided node setup 2026-07-30 14:07:35 -07:00
README.md v1.9.8: BLURT/USD source of truth (api.blurt.blog primary) + guided node setup 2026-07-30 14:07:35 -07:00
rollup.config.ts v1.9.8: BLURT/USD source of truth (api.blurt.blog primary) + guided node setup 2026-07-30 14:07:35 -07:00

base64-arraybuffer

CI NPM Downloads NPM Version

Encode/decode base64 data into ArrayBuffers

Installing

You can install the module via npm:

npm install base64-arraybuffer

API

The library encodes and decodes base64 to and from ArrayBuffers

  • encode(buffer) - Encodes ArrayBuffer into base64 string
  • decode(str) - Decodes base64 string to ArrayBuffer

Testing

You can run the test suite with:

npm test

License

Copyright (c) 2012 Niklas von Hertzen Licensed under the MIT license.