List of ~275,000 English words. Derived from the Letterpress word list.
npm:
npm install an-array-of-english-wordsvar words = require('an-array-of-english-words')
console.log(words.filter(d => /fun/.test(d)))Yields:
[
'antifungal',
'antifungals',
'bifunctional',
'cofunction',
'cofunctions',
// …and many more
]Array.<string> — List of all English words, lowercased.
Install the CLI globally:
npm i -g an-array-of-english-wordsNow run words to print all the words to stdout:
wordsUse grep to filter by pattern:
words | grep cheeseUse egrep to filter with regular expressions:
words | egrep '^fun' # start with 'fun'
words | egrep 'ification$' # end with 'ification'
words | egrep 'ou?r$' # end in 'or' or 'our'Use wc to find out how many monkey words there are:
words | grep monkey | wc -lTen random ten-letter words (note: on macOS, do brew install coreutils to get
gshuf):
$ words | egrep '^.{10}$' | gshuf | head -10