base10

1.0.1 • Public • Published

Base10 Encoder/Decoder

This algorithm works like Base64 but uses numbers only as the output encoded string.

Not sure why you would want it, tho.

Please note that due to the limited character set, the output strings are going too long.

Compatible PHP version here

Examples

const base10 = require('base10')

const original = "Hello, world!";
console.log('Original string: ' + original)

const encoded = base10.encode(original);
console.log('Encoded string: ' + encoded);

const decoded = base10.decode(encoded);
console.log('Decoded string: ' + decoded);

Package Sidebar

Install

npm i base10

Weekly Downloads

2

Version

1.0.1

License

MIT

Unpacked Size

2.59 kB

Total Files

4

Last publish

Collaborators

  • jesobreira