Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/davidchambers/base64.js

Polyfill for browsers that don't provide window.btoa and window.atob
https://github.com/davidchambers/base64.js

Last synced: 4 days ago
JSON representation

Polyfill for browsers that don't provide window.btoa and window.atob

Awesome Lists containing this project

README

        

# Base64.js

[![CDNJS](https://img.shields.io/cdnjs/v/Base64.svg)](https://cdnjs.com/libraries/Base64)

≈ 700 byte* polyfill for browsers which don't provide [`window.btoa`][1] and
[`window.atob`][2].

Base64.js stems from a [gist][3] by [yahiko][4].

### Running the test suite

make setup
make test

\* Minified and gzipped. Run `make bytes` to verify.

[1]: https://developer.mozilla.org/en/DOM/window.btoa
[2]: https://developer.mozilla.org/en/DOM/window.atob
[3]: https://gist.github.com/229984
[4]: https://github.com/yahiko