random-bit 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