four-chars-word-list

2.0.1 • Public • Published

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

Dependencies (0)

    Dev Dependencies (3)

    Package Sidebar

    Install

    npm i four-chars-word-list

    Weekly Downloads

    0

    Version

    2.0.1

    License

    MIT

    Unpacked Size

    38.5 kB

    Total Files

    5

    Last publish

    Collaborators

    • augustingodiscal