Package Exports
- an-array-of-english-words
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (an-array-of-english-words) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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