identical

0.1.0 • Public • Published

Identical

Identical is a simple node module that converts numeric ids to string ids using the provided alphabet.

var Identical = require('identical');

var i = new Identical('0123456789abcdefghijklmnoprstuvxwyz');

console.log(i.stringify(123456789)); // prints '2c9g1u'
console.log(i.numerify('2c9g1u')); // prints '123456789'

License

MIT.

/identical/

    Package Sidebar

    Install

    npm i identical

    Weekly Downloads

    1

    Version

    0.1.0

    License

    MIT

    Last publish

    Collaborators

    • tiagomnh