# node-get-random-values

> crypto.getRandomValues polyfill for node

Latest version **1.1.0** (published 2020-08-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install node-get-random-values
pnpm add node-get-random-values
yarn add node-get-random-values
bun add node-get-random-values
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2020-08-04 |
| First published | 2020-03-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 9.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Florian Klampfer |
| Maintainers | qwtel |
| Keywords | node, crypto, getrandombytes, random, bytes, webcrypto, web-cryptography, web-cryptography-api |

## Links

- npm: https://www.npmjs.com/package/node-get-random-values
- Repository: https://github.com/qwtel/node-get-random-values
- Homepage: https://github.com/qwtel/node-get-random-values#readme
- Issues: https://github.com/qwtel/node-get-random-values/issues
- npm.io page: https://npm.io/package/node-get-random-values

## Alternatives

- [@gemini-wallet/core](https://npm.io/package/@gemini-wallet/core.md) — 515.6K weekly downloads
- [utility](https://npm.io/package/utility.md) — 416.6K weekly downloads
- [@primno/dpapi](https://npm.io/package/@primno/dpapi.md) — 7.2K weekly downloads
- [pi-readseek](https://npm.io/package/pi-readseek.md) — 3.7K weekly downloads
- [@emilia-protocol/verify](https://npm.io/package/@emilia-protocol/verify.md) — 1.1K weekly downloads

## Recent versions

- 1.1.0 (latest) — 2020-08-04
- 1.0.0 — 2020-03-07

## README

# node-get-random-values

`crypto.getRandomValues` polyfill for node.

Comes in two flavors, "polyfill" and " phonyfill". The "phonyfill" is a more efficient implementation that doesn't fully correspond to the WebCrypto specification. Specifically, it only implements the code path where the result of the function call is used, e.g.:

```js
const useThis = crypto.getRandomValues(new Uint8Array(16))
```

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