Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    word-listpublic

    word-list Build Status

    List of English words

    Useful if you're creating a word game or just want some words to work with.

    Used by word-stream and random-word.

    Install

    $ npm install --save word-list

    Usage

    const fs = require('fs');
     
    // Returns the path to the word list which is separated by `\n` 
    const wordListPath = require('word-list');
     
    const wordArray = fs.readFileSync(wordListPath, 'utf8').split('\n');
    //=> […, 'abmhos', 'abnegate', …] 

    License

    MIT © Sindre Sorhus

    install

    npm i word-list

    Downloadsweekly downloads

    1,189

    version

    2.0.0

    license

    MIT

    repository

    github.com

    last publish

    collaborators

    • avatar