# secure-randword

> Generate random words using a CSPRNG

Latest version **0.1.4** (published 2015-06-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install secure-randword
pnpm add secure-randword
yarn add secure-randword
bun add secure-randword
```

## 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.1.4 |
| Published | 2015-06-07 |
| First published | 2014-04-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Nadav Ivgi |
| Maintainers | nadav |
| Keywords | random, words, word, word list |

## Links

- npm: https://www.npmjs.com/package/secure-randword
- Repository: https://github.com/shesek/randwords
- Issues: https://github.com/shesek/randwords/issues
- npm.io page: https://npm.io/package/secure-randword

## Dependencies (1)

- [secure-random](https://npm.io/package/secure-random.md) ^1.1.1

## Recent versions

- 0.1.4 (latest) — 2015-06-07
- 0.1.3 — 2015-01-21
- 0.1.2 — 2014-04-13
- 0.1.1 — 2014-04-12
- 0.1.0 — 2014-04-12

## README

## secure-randword

Generate random words using a CSPRNG -
[crypto.getRandom()](http://nodejs.org/api/crypto.html#crypto_crypto_randombytes_size_callback) on nodejs
or [window.crypto.getRandomValues()](https://developer.mozilla.org/en-US/docs/Web/API/window.crypto.getRandomValues) on browsers,
via [secure-random](https://github.com/jprichardson/secure-random/).

Uses a [word list](https://raw.githubusercontent.com/bitcoin/bips/master/bip-0039/english.txt)
of 2048 words from Bitcoin's
[BIP 39](https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki).

### Install

    $ npm install secure-randword

### Use

    var randword = require('secure-randword');
    console.log(randword()); // one random word
    console.log(randword(5)); // 5 random words

### License
MIT

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