# random-minute

> Generate a random minute.

Latest version **1.0.4** (published 2016-04-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install random-minute
pnpm add random-minute
yarn add random-minute
bun add random-minute
```

## 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 | 2016-04-25 |
| First published | 2016-04-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | bubkoo |
| Maintainers | bubkoo |
| Keywords | minute, time, random, randomly, randomize, chance, test, dice, mock |

## Links

- npm: https://www.npmjs.com/package/random-minute
- Repository: https://github.com/mock-end/random-minute
- Homepage: https://github.com/mock-end/random-minute#readme
- Issues: https://github.com/mock-end/random-minute/issues
- npm.io page: https://npm.io/package/random-minute

## Dependencies (1)

- [random-natural](https://npm.io/package/random-natural.md) ^1.0.3

## Alternatives

- [duck](https://npm.io/package/duck.md) — 4.2M weekly downloads
- [ava](https://npm.io/package/ava.md) — 560.2K weekly downloads
- [storybook-addon-module-mock](https://npm.io/package/storybook-addon-module-mock.md) — 71.7K weekly downloads
- [vest](https://npm.io/package/vest.md) — 50.1K weekly downloads
- [@ethereum-waffle/mock-contract](https://npm.io/package/@ethereum-waffle/mock-contract.md) — 40.0K weekly downloads

## Recent versions

- 1.0.4 (latest) — 2016-04-25
- 1.0.3 — 2016-04-25
- 1.0.2 — 2016-04-25
- 1.0.1 — 2016-04-24
- 1.0.0 — 2016-04-24
- 0.0.0 — 2016-04-21

## README

# random-minute

> Generate a random minute.

[![MIT License](https://img.shields.io/badge/license-MIT_License-green.svg?style=flat-square)](https://github.com/mock-end/random-minute/blob/master/LICENSE)
  
[![build:?](https://img.shields.io/travis/mock-end/random-minute/master.svg?style=flat-square)](https://travis-ci.org/mock-end/random-minute)
[![coverage:?](https://img.shields.io/coveralls/mock-end/random-minute/master.svg?style=flat-square)](https://coveralls.io/github/mock-end/random-minute)
  
  
## Install
  
```
$ npm install --save random-minute 
```
  
## Usage
  
```js
var randomMinute = require('random-minute');
  
// API
// - randomMinute([options]);
  
// options
// - min
// - max
```

By default, returns a minute from `0` to `59`. Idea is for generating a clock time.
  
```js
randomMinute();
// => 37
```

Optionally specify min, max, or both to limit the range.

```js
randomMinute({ min: 10 });
// => 18

randomMinute({ max: 40 });
// => 23

randomMinute({ min: 10, max: 40 });
// => 32
```
  
## Related
  
- [random-year](https://github.com/mock-end/random-year) - Generate a random year.
- [random-month](https://github.com/mock-end/random-month) - Generate a random month.
- [random-day](https://github.com/mock-end/random-day) - Generate a random day of a month.
- [random-hour](https://github.com/mock-end/random-hour) - Generate a random hour.
- [random-second](https://github.com/mock-end/random-second) - Generate a random second.
- [random-millisecond](https://github.com/mock-end/random-millisecond) - Generate a random millisecond.
- [random-weekday](https://github.com/mock-end/random-weekday) - Generate a random weekday.
- [random-datetime](https://github.com/mock-end/random-datetime) - Generate a random date. 
- [random-ampm](https://github.com/mock-end/random-ampm) - Return am or pm. Very simple.
- [random-timestamps](https://github.com/mock-end/random-timestamps) - Generate a timestamp. 
- [random-hammertime](https://github.com/mock-end/random-hammertime) - Generate a random hammertime. 
  

## Contributing
  
Pull requests and stars are highly welcome.

For bugs and feature requests, please [create an issue](https://github.com/mock-end/random-minute/issues/new).

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