nodejs-base64

2.0.0 • Public • Published

Base64 for Node.js - Encode and decode using base64 in Node.js

The ultimate shortcut for the base64 encode/decode functions in Node.js.

TypeScript types available.

Usage

const { base64encode, base64decode } = require('nodejs-base64');

let encoded = base64encode('hey there'); // "aGV5ICB0aGVyZQ=="
let decoded = base64decode(encoded); // "hey there"

Installation

Install from command line:

npm i --save nodejs-base64

Requirements

Tested on Node 8-14. May not work on Node below 7.8.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.0
    15,193
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.0.0
    15,193
  • 1.0.3
    2,493
  • 1.0.2
    0
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i nodejs-base64

Weekly Downloads

17,686

Version

2.0.0

License

Unlicense

Unpacked Size

5.87 kB

Total Files

7

Last publish

Collaborators

  • anton-ivanov