npm.io
1.0.3 • Published 11 years ago

base64-lite

Licence
MIT
Version
1.0.3
Deps
0
Vulns
0
Weekly
0

base64-lite

Smallest/simplest possible means of using atob with both Node and browserify.

var base64 = require('base64-lite');
var encoded = base64.btoa('hello world') -> 'aGVsbG8gd29ybGQ='
var decoded = base64.atob('aGVsbG8gd29ybGQ=') -> 'hello world'

License

MIT. See LICENSE.md for details.

Keywords