base64-lite

1.0.3 • Public • Published

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.

Package Sidebar

Install

npm i base64-lite

Weekly Downloads

54

Version

1.0.3

License

MIT

Last publish

Collaborators

  • alancnet