# rand

> Random Utilities

Latest version **0.0.4** (published 2011-06-14) · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.4 |
| Published | 2011-06-14 |
| First published | 2011-06-13 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | > 0.0.0 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Author | Kaleb Hornsby |

## Links

- npm: https://www.npmjs.com/package/rand
- Repository: https://github.com/kaleb/js-rand
- npm.io page: https://npm.io/package/rand

## Recent versions

- 0.0.4 (latest) — 2011-06-14
- 0.0.3 — 2011-06-14
- 0.0.2 — 2011-06-13
- 0.0.1 — 2011-06-13
- 0.0.0 — 2011-06-13

## README

[![Stories in Ready](https://badge.waffle.io/kaleb/js-rand.png?label=ready)](http://waffle.io/kaleb/js-rand)
[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/kaleb/js-rand/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

# rand

Random utilities for Node.js.

## Usage

```js
var rand = require('rand');

var n = rand.int(1, 10);
// n is an integer in range [1, 9]

var foo = [1, 2, 3];
var shuffled = rand.shuffled(foo);
// or in place:
rand.shuffle(foo);
```

## Documentation

Check the source code. It's well documented.

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