threewords
v0.0.1
Published
Generate three-word identifiers
Downloads
5
Readme
threewords
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('[email protected]'); // rigid-smothered-lizards
threewords('[email protected]'); // 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 [email protected]
# rigid-smothered-lizards
CLI random
threewords
# fragile-oversize-rocks