random-bit

1.0.1 • Public • Published

random-bit Build Status

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

Package Sidebar

Install

npm i random-bit

Weekly Downloads

1

Version

1.0.1

License

MIT

Last publish

Collaborators

  • arthurvr