Skip to content

words/an-array-of-english-words

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 Cannot retrieve latest commit at this time.

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

an-array-of-english-words

An array of ~275,000 English words derived from the Letterpress word list. Works with node and browserify.

Programmatic Usage

To use the module in Javascript code, install it locally:

npm install an-array-of-english-words --save

Then:

const words = require('an-array-of-english-words')
const funWords = words.filter(w => !!w.match(/^fun/i))
console.log(funWords)

Command Line Usage

There's a CLI that prints all words to STDOUT. Install it globally:

npm i -g an-array-of-english-words
words | grep cheese

See Also