# random-word

> Get a random English word

Latest version **3.0.0** (published 2024-04-30) · MIT license · 0 weekly downloads

## Install

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

## Health

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

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

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.0.0 |
| Published | 2024-04-30 |
| First published | 2014-02-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | separate (@types/random-word) |
| Module format | ESM |
| Node | >=18 |
| Dependencies | 2 |
| Unpacked size | 2.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Sindre Sorhus |
| Maintainers | sindresorhus |
| Keywords | word, words, random, en, english, dict, dictionary |

## Links

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

## Dependencies (2)

- [word-list](https://npm.io/package/word-list.md) ^4.0.0
- [unique-random-array](https://npm.io/package/unique-random-array.md) ^3.0.0

## 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

- 3.0.0 (latest) — 2024-04-30
- 2.0.0 — 2017-01-23
- 1.0.2 — 2015-05-21
- 1.0.1 — 2015-01-22
- 1.0.0 — 2014-08-22
- 0.1.0 — 2014-02-04

## README

# random-word

> Get a random English word

## Install

```sh
npm install random-word
```

## Usage

```js
import randomWord from 'random-word';

randomWord();
//=> 'ferriferous'

randomWord();
//=> 'microfloppies'
```

The [underlying list of words](https://github.com/sindresorhus/word-list/blob/main/words.txt) is a 2.7 MB text file with 274,925 English words.

## Related

- [random-word-cli](https://github.com/sindresorhus/random-word-cli) - CLI for this package

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