A Deno CLI which returns a string of random words from a given word list.
> deno run --lock --allow-read=./words ./main.ts
> cheeking-signs-riches
Similar to unique-names-generator.
--words
: path to a word list file where each word is delimited by a newline. Default value is./words/xkcd.txt
.--separator
: a character to insert in between each word in the output. If multiple characters are provided, a random character is picked for each separator. Default value is-
.--length
: the number of words to output. Default value is3
.
xkcd.txt
: the dictionary for XKCD's Simple Writer, Up Goer Five, and Thing Explainer, minus contractions.google-10000.txt
: the top 10,000 most common English words from Google's Trillion Word Corpus, minus swear words.left-hand-only.txt
: the subset ofgoogle-10000.txt
which only contains the words which can be typed using only the left hand on a QWERTY keyboard.gfycat.txt
: the adjectives and animal names that gfycat uses to generate URLs.bip39.txt
: the word list used to make BIP39 mnemonic phrases for generating Bitcoin wallets.eff-large-wordlist.txt
: the five-dice word list used for EFF's dice-generated passphrases.