label
v0.2.2
Published
Generate easy to remember random identifiers
Downloads
2,034
Readme
label
Inspired by Heroku, label
generates random two word identifiers.
Install
npm install label
Usage examples
var label = require('label');
var title = label.generate();
console.log(title); // Light Beard
var random = label.generate(true);
console.log(random); // liquid stream
var uri = 'https://' + label.generate(true, '-') + '.example.com/';
console.log(uri); // https://intimate-rabbit.example.com/
Note
Probability of collision is 0.00007%.