bs64

Base 64 encoding.

npm install bs64
2 downloads in the last week
4 downloads in the last month

bs64

JavaScript component to compute base 64 encoding.

Install

Node.js/Browserify

npm install --save bs64

Component

component install cryptocoinjs/bs64

Bower

bower install bs64

Script

<script src="/path/to/bs64.js"></script>

Usage

encode(arrayOfBytes)

decode(base64str)

Credits

Most of the code from Stefan Thomas in https://github.com/bitcoinjs/bitcoinjs-lib

License

(MIT License)

Copyright 2013, JP Richardson jprichardson@gmail.com

npm loves you