# randomfill

> random fill from browserify stand alone

Latest version **1.0.4** (published 2018-02-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install randomfill
pnpm add randomfill
yarn add randomfill
bun add randomfill
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2018-02-16 |
| First published | 2017-10-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 6.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 9 |
| Maintainers | cwmma |
| Keywords | crypto, random |

## Links

- npm: https://www.npmjs.com/package/randomfill
- Repository: https://github.com/crypto-browserify/randomfill
- Issues: https://github.com/crypto-browserify/randomfill/issues
- npm.io page: https://npm.io/package/randomfill

## Dependencies (2)

- [randombytes](https://npm.io/package/randombytes.md) ^2.0.5
- [safe-buffer](https://npm.io/package/safe-buffer.md) ^5.1.0

## 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.0.4 (latest) — 2018-02-16
- 1.0.3 — 2017-10-18
- 1.0.2 — 2017-10-18
- 1.0.1 — 2017-10-18
- 1.0.0 — 2017-10-18

## README

randomfill
===

[![Version](http://img.shields.io/npm/v/randomfill.svg)](https://www.npmjs.org/package/randomfill)

randomfill from node that works in the browser.  In node you just get crypto.randomBytes, but in the browser it uses .crypto/msCrypto.getRandomValues

```js
var randomFill = require('randomfill');
var buf
randomFill.randomFillSync(16);//get 16 random bytes
randomFill.randomFill(16, function (err, resp) {
  // resp is 16 random bytes
});
```

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