0.1.0 • Published 11 years ago

identical v0.1.0

Weekly downloads
-
License
-
Repository
-
Last release
11 years ago

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.