diff options
Diffstat (limited to 'node_modules/math-random/readme.md')
| -rw-r--r-- | node_modules/math-random/readme.md | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/node_modules/math-random/readme.md b/node_modules/math-random/readme.md new file mode 100644 index 00000000..17beb706 --- /dev/null +++ b/node_modules/math-random/readme.md @@ -0,0 +1,26 @@ +# math-random + +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. + +[](https://travis-ci.org/michaelrhodes/math-random) + +## Install + +```sh +npm install math-random +``` + +### Usage + +```js +var random = require('math-random') + +console.log(random()) +=> 0.584293719381094 + +console.log(random.cryptographic) +=> true || undefined +``` + +### License +[MIT](http://opensource.org/licenses/MIT) |
