3 math-random is an drop-in replacement for Math.random that uses cryptographically secure random number generation, where available. It works in both browser and node environments.
5 [![Build status](https://travis-ci.org/michaelrhodes/math-random.svg?branch=master)](https://travis-ci.org/michaelrhodes/math-random)
10 npm install math-random
16 var random = require('math-random')
21 console.log(random.cryptographic)
26 [MIT](http://opensource.org/licenses/MIT)