Skip to content

Latest commit

 

History

History
53 lines (28 loc) · 1.07 KB

README.md

File metadata and controls

53 lines (28 loc) · 1.07 KB

Base64js Build Status

This implementation of base64 leverages the y64 web-safe adjustments.

Installation

Node

npm install onehealth/base64js --save

Browser

bower install onehealth/base64js --save

Getting Started

This is a plugin built for Encoding/Decoding Strings to be Base64 Compliant in a Web Safe Manner


var base64 = require('base64js');

//Encoding Foo to be Base64 Compliant
base64.encode("foo"); // 'Zm9v'

//Decoding Base64 to String
base64.decode("Zm9v"); // 'foo'

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using grunt.

Release History

  • 0.1.2 Updated UMD Definition to include exports
  • 0.1.1 Updated Build Dependencies
  • 0.1.0 Initial release

License

Copyright (c) 2012-2014 OneHealth Solutions, Inc

Copyright (c) 2014-2015 Viverae, Inc

Licensed under the Apache 2.0 license.

Author

Chris Miller