word-list
List of English words
Useful if you're creating a word game or just want some words to work with.
Used by word-stream
and random-word
.
One-letter words are not included. Many common bad words are also filtered out.
Install
$ npm install word-list
Usage
const fs = ; // Returns the path to the word list which is separated by `\n`const wordListPath = ; const wordArray = fs;//=> […, 'abmhos', 'abnegate', …]