0.0.3 • Published 6 years ago

threewords-happy v0.0.3

Weekly downloads
1
License
MIT
Repository
-
Last release
6 years ago

threewords

Build Status

Generate deterministic, human-readable names for things

Installing

npm install --save threewords

Usage

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-lizards

Generate random:

const threewords = require('threewords');

// totally random
threewords.random(); // fragile-oversize-rocks
threewords.random(); // fragile-oversize-rocks

CLI from string:

threewords user@example.com
# rigid-smothered-lizards

CLI random

threewords
# fragile-oversize-rocks