1.0.0 • Published 6 years ago

idable v1.0.0

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

A human readable ID for NodeJS.

Installation

npm i idable

Usage

A human readable random number ID:

const idable = require('idable');

console.log(idable(8, true));
// => 98703713

A human readable random letter ID:

const idable = require('idable');

console.log(idable(8, false));
// => locolagi

A human readable random letter and number ID:

const idable = require('idable');

console.log(idable(8));
// => od64udim