# word-list

> List of English words

Latest version **4.1.0** (published 2024-10-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install word-list
pnpm add word-list
yarn add word-list
bun add word-list
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 4.1.0 |
| Published | 2024-10-12 |
| First published | 2014-02-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM |
| Node | >=18 |
| Dependencies | 0 |
| Unpacked size | 2.7 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Sindre Sorhus |
| Maintainers | sindresorhus |
| Keywords | word, words, word-list, list, en, english, dict, dictionary |

## Links

- npm: https://www.npmjs.com/package/word-list
- Repository: https://github.com/sindresorhus/word-list
- Homepage: https://github.com/sindresorhus/word-list#readme
- Issues: https://github.com/sindresorhus/word-list/issues
- Funding: https://github.com/sponsors/sindresorhus
- npm.io page: https://npm.io/package/word-list

## Alternatives

- [replicas-cli](https://npm.io/package/replicas-cli.md) — 3.0K weekly downloads
- [env-contract](https://npm.io/package/env-contract.md) — 133 weekly downloads
- [@openveo/api](https://npm.io/package/@openveo/api.md) — 61 weekly downloads
- [@ryniaubenpm2/cumque-error-reiciendis](https://npm.io/package/@ryniaubenpm2/cumque-error-reiciendis.md) — 54 weekly downloads
- [ts-global-type-extra](https://npm.io/package/ts-global-type-extra.md) — 11 weekly downloads

## Recent versions

- 4.1.0 (latest) — 2024-10-12
- 4.0.0 — 2024-04-30
- 3.1.0 — 2019-06-19
- 3.0.0 — 2019-04-29
- 2.0.0 — 2017-01-23
- 1.0.1 — 2015-11-14
- 1.0.0 — 2014-08-13
- 0.1.0 — 2014-02-04

## README

# word-list

> List of [English words](https://github.com/atebits/Words/blob/master/Words/en.txt)

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

Used by [`word-stream`](https://github.com/sindresorhus/word-stream) and [`random-word`](https://github.com/sindresorhus/random-word).

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

## Install

```sh
npm install word-list
```

## Usage

```js
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', …]
```

---
_Source: https://npm.io/package/word-list · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
