base64-to-uint8array

1.0.0 • Public • Published

base64-to-uint8array

Convert a base64 string to a Uint8Array in Node and the browser

npm install base64-to-uint8array

Usage

var toUint8Array = require('base64-to-uint8array')
var arr = toUint8Array('aGVsbG8gd29ybGQ=')
console.log(arr) // the bytes for "hello world"

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i base64-to-uint8array

Weekly Downloads

4,445

Version

1.0.0

License

MIT

Last publish

Collaborators

  • mafintosh