base64-encode-string
An ultra-basic module that just converts a string to its base64 equivalent. Designed to demonstrate how to build a JavaScript package for both Node and the browser.
Usage
npm install b64encode
var b64encode = ;; // Zm9v; // Zm9vYmFy