0.0.7 • Published 6 years ago

random-objectid v0.0.7

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

random-objectid

Returns a Promise that will resolve to a random 12 byte hex string.

Install

In a project:

npm install --save-dev random-objectid

Globally:

npm install --global random-objectid

Usage

In code:

const randomObjectId = require('random-objectid')

() => {
  const testId = randomObjectId()
  console.log('generated random id', testId)
}

From CLI:

$ random-objectid
37bfc2ff43cfc1ef75abe9c3

License

MIT

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago