An open API service indexing awesome lists of open source software.

https://github.com/adamisntdead/random-value

Javascript Random Value Generation
https://github.com/adamisntdead/random-value

random random-generation random-number-generators random-string

Last synced: 12 months ago
JSON representation

Javascript Random Value Generation

Awesome Lists containing this project

README

          

random-value

> Random Value Generation
>
> [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url]

-----

## Installation

```sh
$ npm install --save random-value
```

## Functions
Check out the docs! [random-value.surge.sh](http://random-value.surge.sh)

## Usage

```js
const random = require('random-value');

random.randomNumber() // Generates a random Number
random.randomBool() // Generates a random Boolean
```

## Tests / Coverage
![Coverage](https://github.com/adamisntdead/random-value/raw/master/media/test.gif)

## License

Apache-2.0 © [Adam Kelly](github.com/adamisntdead)

[npm-image]: https://badge.fury.io/js/random-value.svg
[npm-url]: https://npmjs.org/package/random-value
[travis-image]: https://travis-ci.org/adamisntdead/random-value.svg?branch=master
[travis-url]: https://travis-ci.org/adamisntdead/random-value
[daviddm-image]: https://david-dm.org/adamisntdead/random-value.svg?theme=shields.io
[daviddm-url]: https://david-dm.org/adamisntdead/random-value