1.0.0 • Published 3 years ago

a-set-of-english-words v1.0.0

Weekly downloads
11
License
MIT
Repository
github
Last release
3 years ago

a-set-of-english-words

Set of ~275,000 English words. Derived from the Letterpress word list.

Install

npm:

npm install a-set-of-english-words

Use

var words = require('a-set-of-english-words');

console.log(words.filter(d => /fun/.test(d)))

Yields:

Set(
  'antifungal',
  'antifungals',
  'bifunctional',
  'cofunction',
  'cofunctions',
  // …and many more
)

API

aSetOfEnglishWords

Set.<string> — List of all English words, lowercased.