really-unique-id
Produces random ID's using random ints and a timestamp, encoded using base36
Last updated 5 years ago by roberttod .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install really-unique-id 
SYNC missed versions from official npm registry.

Really Unique ID

js-standard-style

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

Current Tags

  • 1.2.1                                ...           latest (5 years ago)

6 Versions

  • 1.2.1                                ...           5 years ago
  • 1.2.0                                ...           5 years ago
  • 1.1.0                                ...           5 years ago
  • 1.0.2                                ...           6 years ago
  • 1.0.1                                ...           6 years ago
  • 1.0.0                                ...           6 years ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (14)
Dependents (2)

Copyright 2014 - 2017 © taobao.org |