项目原始demo,不改动
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
Questo repository è archiviato. Puoi vedere i file e clonarli, ma non puoi effettuare richieste di pushj o aprire problemi/richieste di pull.
 
 
 
 
xzx 2ec7739298 [Version] V.3.8 4 anni fa
..
.npmignore [Version] V.3.8 4 anni fa
.travis.yml [Version] V.3.8 4 anni fa
browser.js [Version] V.3.8 4 anni fa
node.js [Version] V.3.8 4 anni fa
package.json [Version] V.3.8 4 anni fa
readme.md [Version] V.3.8 4 anni fa
test.js [Version] V.3.8 4 anni fa

readme.md

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.

Build status

Install

npm install math-random

Usage

var random = require('math-random')

console.log(random())
=> 0.584293719381094

console.log(random.cryptographic)
=> true || undefined

License

MIT