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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.0
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.0
    2

Package Sidebar

Install

npm i identical

Weekly Downloads

2

Version

0.1.0

License

MIT

Last publish

Collaborators

  • tiagomnh