base64-to-uint8array
Convert a base64 string to a Uint8Array in Node and the browser
Last updated 8 years ago by mafintosh .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install base64-to-uint8array 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.0.0                                ...           latest (8 years ago)

1 Versions

  • 1.0.0                                ...           8 years ago
Maintainers (1)
Downloads
Total 1
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (0)
None

© 2010 - cnpmjs.org x YWFE | Home | YWFE