new-base-61

0.0.1 • Public • Published

Based on NewBase60 by Tantek Çelik.

Try to solve an issue with NewBase60 where string with leading 0 will not be able to get back the same string back.

Installation

npm install new-base-61

Example

var nb61 = require('new-base-61');

// Convert string to 61 base number
var val = nb61.strtonum('Hello');

// Convert number value back to string
console.log(nb61.numtostr(val));  `     

License

Released under CC BY-SA 3.0

Readme

Keywords

none

Package Sidebar

Install

npm i new-base-61

Weekly Downloads

1

Version

0.0.1

License

none

Last publish

Collaborators

  • shiawuen