base64-arraybuffer
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    1,938,543
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    1,938,543
  • 1.0.1
    85,447
  • 1.0.0
    8
  • 0.2.0
    180,197
  • 0.1.5
    871,717
  • 0.1.4
    1,108,433
  • 0.1.3
    9
  • 0.1.2
    38,306
  • 0.1.0
    10

Package Sidebar

Install

npm i base64-arraybuffer

Weekly Downloads

4,222,670

Version

1.0.2

License

MIT

Unpacked Size

24.3 kB

Total Files

12

Last publish

Collaborators

  • niklasvh