really-unique-id
v1.2.2
Published
Produces random ID's using random ints and a timestamp, encoded using base36
Downloads
49
Readme
Really Unique ID
Generates a unique ID in the form iiiiiiiiiii-ttttttttt-iiiiiii
using a random integer, a timestamp and another random integer (shortened to 7 chars).
The timestamp and random integer are encoded in base36 to keep the ID as small as possible while still using native base conversion.
Usage
var uniqueId = require('really-unique-id')
uniqueId()
// 658gziv02eg-0i7ow06n0-1idzrcv