0.1.0 • Published 11 years ago
identical v0.1.0
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.
0.1.0
11 years ago