base64-to-uint8array
Convert a base64 string to a Uint8Array in Node and the browser
Last updated 7 years ago by mafintosh .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ gnpm 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 (7 years ago)

1 Versions

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

Copyright 2013 - present © cnpmjs.org | Home |