Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 851 Bytes

readme.md

File metadata and controls

35 lines (24 loc) · 851 Bytes

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