0.0.3 • Published 8 years ago
threewords-happy v0.0.3
threewords
Generate deterministic, human-readable names for things
Installing
npm install --save threewordsUsage
Generate from string:
const threewords = require('threewords');
// stable and deterministic (same result every time)
threewords('user@example.com'); // rigid-smothered-lizards
threewords('user@example.com'); // rigid-smothered-lizardsGenerate random:
const threewords = require('threewords');
// totally random
threewords.random(); // fragile-oversize-rocks
threewords.random(); // fragile-oversize-rocksCLI from string:
threewords user@example.com
# rigid-smothered-lizardsCLI random
threewords
# fragile-oversize-rocks