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

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i random-bit

    Weekly Downloads

    3

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • arthurvr