mirror of
https://github.com/morhetz/gruvbox.git
synced 2025-11-17 07:43:38 -05:00
chore(package): re-init package with commitizen and standard-release
This commit is contained in:
13
node_modules/math-random/node.js
generated
vendored
Normal file
13
node_modules/math-random/node.js
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
var crypto = require('crypto')
|
||||
var max = Math.pow(2, 32)
|
||||
|
||||
module.exports = random
|
||||
module.exports.cryptographic = true
|
||||
|
||||
function random () {
|
||||
var buf = crypto
|
||||
.randomBytes(4)
|
||||
.toString('hex')
|
||||
|
||||
return parseInt(buf, 16) / max
|
||||
}
|
||||
Reference in New Issue
Block a user