No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

readme.md 590 B

hace 3 años
1234567891011121314151617181920212223242526
  1. # math-random
  2. 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.
  3. [![Build status](https://travis-ci.org/michaelrhodes/math-random.svg?branch=master)](https://travis-ci.org/michaelrhodes/math-random)
  4. ## Install
  5. ```sh
  6. npm install math-random
  7. ```
  8. ### Usage
  9. ```js
  10. var random = require('math-random')
  11. console.log(random())
  12. => 0.584293719381094
  13. console.log(random.cryptographic)
  14. => true || undefined
  15. ```
  16. ### License
  17. [MIT](http://opensource.org/licenses/MIT)