arthurvr / random-bit

Get a random bit (0 or 1)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

random-bit Build Status

Get a random bit (0 or 1)

Install

$ npm install --save random-bit

Usage

const randomBit = require('random-bit');

randomBit();
//=> 1

randomBit();
//=> 0

License

MIT © Arthur Verschaeve

About

Get a random bit (0 or 1)

License:MIT License


Languages

Language:JavaScript 100.0%