ostrio:base64

v1.0.0Published 9 years ago

This package has not had recent updates. Please investigate it's current state before committing to using it in your project.

Isomorphic Base64 implementation

Isomorphic string encoding and decoding Base64 implementation

Installation

meteor add ostrio:base64

API

Base64.encode(plainString)
1Base64.encode('My Plain String');
2// Returns 'TXkgUGxhaW4gU3RyaW5n'
Base64.decode(base64EncodedString)
1Base64.decode('TXkgUGxhaW4gU3RyaW5n');
2// Returns 'My Plain String'