Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

base64encodedecode

sureshkumarnatrevmakx52GPL-3.00.0.14

A Simple Base64 encode / decode function for Javascript supports UTF-8 encoding / decoding.

nodejs, encode, decode, encode-decode, base64, base64-encode-decode, base64encodedecode, base64-encode, base64-encode, base64-decode, base64decode, utf-8, UTF-8, base64-encode-utf8, base64encodeutf8, base64-decode-utf8, base64decodeutf8

readme

base64encodedecode

A fork of npm module

Installation

npm install base64encodedecode

Examples

To find base64 encode of a string

console.log(base64.base64Encode('nodejs'));

To find base64 decode of a string

console.log(base64.base64Decode('bm9kZWpz'));

Tests

To run the test suite, run npm test:

npm test

License

GPL 3.0