@wmakeev/base64encode
v2.0.1
Published
Base64 encoding for node (with Buffer) and browser (with btoa).
Downloads
275
Readme
base64encode
Universal Base64 encoding for node, browser and Google Apps Script.
base64encode use btoa
in browser, Buffer
in node and Utilities.base64Encode
in Google Application Script context.
Install
$ npm install @wmakeev/base64encode
Usage
let base64encode = require('@wmakeev/base64encode')
console.log(base64encode('Just a simple string'))