UNPKG

random-value

Version:
41 lines (27 loc) 1.09 kB
<h1 align="center">random-value</h1> > 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