Skip to content

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

License

Notifications You must be signed in to change notification settings

mafintosh/base64-to-uint8array

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published