random-bol-float-integer
v1.1.0
Published
```shell $ npm install random-bol-float-integer --save
Downloads
10
Readme
#Example
$ npm install random-bol-float-integer --save
const {sensitiveWods} = require(random - bol - float - integer)
// ES2015 modules
import {choice} from 'random-bol-float-integer'
const randomInteger = choice(20, 10)
console.log('randomInteger :', randomInteger)
// random integer number from 20 to 10 '15'
const randomFloat = choice(30, 10, {float: true})
console.log('randomFloat :', randomFloat)
// random float number from 30 to 10 '14.964546'
const randomBoolean = choice(100, 0, {bool: true})
// random boolean: true | false