8000 GitHub - jack828/word-list at remove-more-bad-words
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

jack828/word-list

 
 

Repository files navigation

word-list

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.

One-letter words are not included. Many common bad words are also filtered out.

Install

npm install word-list

Usage

import fs from 'node:fs';

// Returns the path to the word list which is separated by `\n`.
import wordListPath from 'word-list';

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

About

List of English words

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%
0