projects
/
dotfiles
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Actualizacion maquina principal
[dotfiles/.git]
/
.config
/
coc
/
extensions
/
node_modules
/
coc-prettier
/
node_modules
/
math-random
/
node.js
diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/math-random/node.js
b/.config/coc/extensions/node_modules/coc-prettier/node_modules/math-random/node.js
new file mode 100644
(file)
index 0000000..
0edf239
--- /dev/null
+++ b/
.config/coc/extensions/node_modules/coc-prettier/node_modules/math-random/node.js
@@ -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)
+ .readUInt32BE(0)
+
+ return buf / max
+}