# word-dice

> A nodejs lib to generate a random word (with true randomness) in the given iso language eg (en-US, pt-PT) Works on nodejs version v15.x or latter

Latest version **0.2.1** (published 2022-02-04) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.1 |
| Published | 2022-02-04 |
| First published | 2021-12-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 141.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | lights |
| Maintainers | joaosilvalopes |
| Keywords | random, words, words, word, generator, sample, text |

## Links

- npm: https://www.npmjs.com/package/word-dice
- Repository: https://github.com/joaosilvalopes/word-dice
- Homepage: https://github.com/joaosilvalopes/word-dice#readme
- Issues: https://github.com/joaosilvalopes/word-dice/issues
- npm.io page: https://npm.io/package/word-dice

## Alternatives

- [ext-list](https://npm.io/package/ext-list.md) — 6.3M weekly downloads
- [@lexical/selection](https://npm.io/package/@lexical/selection.md) — 3.8M weekly downloads
- [@lexical/text](https://npm.io/package/@lexical/text.md) — 3.6M weekly downloads
- [@lexical/clipboard](https://npm.io/package/@lexical/clipboard.md) — 3.0M weekly downloads
- [@tiptap/extension-mention](https://npm.io/package/@tiptap/extension-mention.md) — 3.0M weekly downloads

## Recent versions

- 0.2.1 (latest) — 2022-02-04
- 0.2.0 — 2022-01-09
- 0.1.9 — 2021-12-30
- 0.1.8 — 2021-12-30
- 0.1.7 — 2021-12-29
- 0.1.6 — 2021-12-18
- 0.1.5 — 2021-12-05
- 0.1.4 — 2021-12-04
- 0.1.3 — 2021-12-04
- 0.1.2 — 2021-12-04
- 0.1.1 — 2021-12-04
- 0.1.0 — 2021-12-04
- 0.0.1 — 2021-12-04

## README

# Word dice

A nodejs lib to generate a random word (with true randomness) in the given iso language eg (en-US, pt-PT)
Works on nodejs version v15.x or latter

## Usage

```
npm i 'word-dice';

import wordDice from 'word-dice';

const word = wordDice.roll({
  minLength: 3,
  maxLength: 8,
  lang: 'en-US'
});

```

## Supported languages

- en-US
- it-IT
- pt-PT
- pt-BR
- pl-PL

##

Inspired by: https://www.npmjs.com/package/random-words

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