2.0.1 • Published 5 years ago

four-chars-word-list v2.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

Subset of English words

Maybe useful for you if you only need 4 chars

Install

$ npm install --save four-chars-word-list

Usage

const fs = require('fs');

// Returns the path to the word list which is separated by `\n`
const wordListPath = require('four-chars-word-list');

const wordArray = fs.readFileSync(wordListPath, 'utf8').split('\n');
//=> […, 'abmhos', 'abnegate', …]

License

MIT © Sindre Sorhus @auggod