random-bit
v1.0.1
Published
Get a random bit (0 or 1)
Downloads
3
Maintainers
Readme
random-bit
Get a random bit (0 or 1)
Install
$ npm install --save random-bit
Usage
var randomBit = require('random-bit');
randomBit();
//=> 1
randomBit();
//=> 0
License
MIT © Arthur Verschaeve