Package Exports
- nodejs-base64-converter
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (nodejs-base64-converter) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
base64 encode/decode methods in nodejs
The ultimate small js library for the base64 encode/decode conversion in Node.js.
Usage
var nodeBase64 = require('nodejs-base64-converter');
console.log(nodeBase64.encode("test text")); //dGVzdCB0ZXh0
console.log(nodeBase64.decode("dGVzdCB0ZXh0")); //test text
Installation
Install from command line:
npm i --save nodejs-base64-converter
Test
npm test