node-base92
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

node-base92

Description

A C++ addon for nodejs supports base92 encoding and decoding.

Install

npm install -S node-base92

Usage

const fs = require('fs');
const {encode, decode} = require('node-base92');


// string
encode('Hello World') // should be ;K_$aOTbKnsM*k
// buffer
encode(fs.readFileSync('./inputFile'));
// string
decode(';K_$aOTbKnsM*k') // should be Hello World
// buffer
decode(fs.readFileSync('./inputFile'));

Thanks

thenoviceoof(https://github.com/thenoviceoof) wrote base92

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i node-base92

Weekly Downloads

0

Version

0.0.5

License

MIT

Unpacked Size

13.3 kB

Total Files

10

Last publish

Collaborators

  • devinxu