Short non-sequential unique id generator in a given format.
var genId = require('gen-id')('nnnnnnnc') , orderId = genId.generate() console.log(orderId)
Initial available formats:
You can change the format at any point by using genId.setFormat()
Of course you’re getting around to it, but you probably should get around to it soon. Buy a ticket »
how? learn more