0.2.2 • Published 10 years ago

label v0.2.2

Weekly downloads
21
License
-
Repository
github
Last release
10 years ago

label Build Status

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%.

0.2.2

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago