{"_id":"@zulze12/meteor-random","_rev":"1-c1e30fcc88c8221d0a8a1b13c3a4615f","name":"@zulze12/meteor-random","dist-tags":{"latest":"0.0.3"},"versions":{"0.0.3":{"name":"@zulze12/meteor-random","version":"0.0.3","description":"Meteor's Random Package for Straight Node","main":"index.js","scripts":{"test":"node test.js"},"author":{"name":"Trever Faden"},"license":"BSD-2-Clause","devDependencies":{},"repository":{"type":"git","url":"git+https://github.com/vuptt/meteor-random.git"},"keywords":["random","meteor","crypto","api","key","generator","api","keys","tokens","UUID"],"bugs":{"url":"https://github.com/vuptt/meteor-random/issues"},"homepage":"https://github.com/vuptt/meteor-random","gitHead":"532c34a7c4678b35d948be9482ed43b12b0360e6","_id":"@zulze12/meteor-random@0.0.3","_nodeVersion":"12.11.1","_npmVersion":"6.11.3","dist":{"integrity":"sha512-HDLsaUfEAGimKyicIrCJfFmc0+fP+hEv1aJJ8BG2dGfhT9J5/flv91InPyyW4EzM5wPwQxt4HAUcml4UmdGnyQ==","shasum":"0a111589e046ce9be2759bc0d26e34f202995ecc","tarball":"https://registry.npmjs.org/@zulze12/meteor-random/-/meteor-random-0.0.3.tgz","fileCount":9,"unpackedSize":12291,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdt+YPCRA9TVsSAnZWagAAWGMP/j2d54YjACk21O5rRuM0\nQFGG24DlqFOW8Uit+B33HyueBOBAa1zNBOs6P2uKFE5b2fNFA6Fn6a6Lvqqd\nAPmm1e7dOGYiZgATjUeFC0bUy1JAI34KQKJxQaIdaT3NAMQrVc3UURciE6el\nU1THDLQaz+EwPIh9ZalhoJHK/AhggAnxZXDpeQduz0Bfam4P+ZjxB8Qz0kfs\nyNzcSfDPN0ptvaWP5AP3aMoQ20rDSHoGAiaAl7QrlizT2BUWfBNEZHLR3+sH\nTdGi6xK5n4W2CCgYJBt6BxyBm5lIcB4BH5M6JY5K5ZzCYFMOZJ2INkLDJCOV\nzoaaCNn+uh244f29ZyQHpz6o+t5CsLmIUCS52+jLYEEK2Tpknr2lYKamLMOj\nqZq+hgpzmSM+KG3MFGk45gLKj9VixUIspwQs0JjePlAGKzgdIK9Dxd4Dxrgu\nPTszEo9XVhwYBWcq4qtxnptkM0S0LWVQBje9MxoN7EyRTyZhQowvRO8GqO1z\nuF9ahGIw7CEf4e24wFC3gpiM6IkomI2/DRAuGUEsTh2sJi/P5IR7q9JSTp+O\nf6XhNE1XLNIvVQ3vjjWyzyVaoiBNfKQ1qAAHvJ4JA5HICr762/mEJ2Vd7kUo\nrUgdMN6Ja9za8avPWEBOW+Lh/i8pixb3izLHMmg9mEeAlYLTfWt6ZYZnMFPY\nOgii\r\n=1dw0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAxrs7thQHuZBxf5ldt4sMn5zh1jtyrn+1tFPytsjOjHAiEAwREJFo5WKYeCi3pJncyWRjGYw3r6fHnwrnqgcnVz1GY="}]},"maintainers":[{"name":"zulze12","email":"ptvu.dev@gmail.com"}],"_npmUser":{"name":"zulze12","email":"ptvu.dev@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/meteor-random_0.0.3_1572333071324_0.3464069312042426"},"_hasShrinkwrap":false}},"time":{"created":"2019-10-29T07:11:11.092Z","0.0.3":"2019-10-29T07:11:11.443Z","modified":"2022-04-11T12:07:57.793Z"},"maintainers":[{"name":"zulze12","email":"ptvu.dev@gmail.com"}],"description":"Meteor's Random Package for Straight Node","homepage":"https://github.com/vuptt/meteor-random","keywords":["random","meteor","crypto","api","key","generator","api","keys","tokens","UUID"],"repository":{"type":"git","url":"git+https://github.com/vuptt/meteor-random.git"},"author":{"name":"Trever Faden"},"bugs":{"url":"https://github.com/vuptt/meteor-random/issues"},"license":"BSD-2-Clause","readme":"# meteor-random\nMeteor's Random Package, Stripped for Straight Node\n\n```\n  Random = require('meteor-random');\n```\nThe random package provides several functions for generating random numbers. It uses a cryptographically strong pseudorandom number generator when possible, but falls back to a weaker random number generator when cryptographically strong randomness is not available (on older browsers or on servers that don't have enough entropy to seed the cryptographically strong generator).\n\n* `Random.id([n])`\nReturns a unique identifier, such as \"Jjwjg6gouWLXhMGKW\", that is likely to be unique in the whole world. The optional argument n specifies the length of the identifier in characters and defaults to 17.\n\n* `Random.secret([n])`\nReturns a random string of printable characters with 6 bits of entropy per character. The optional argument n specifies the length of the secret string and defaults to 43 characters, or 256 bits of entropy. Use Random.secret for security-critical secrets that are intended for machine, rather than human, consumption.\n\n* `Random.fraction()`\nReturns a number between 0 and 1, like Math.random.\n\n* `Random.choice(arrayOrString)`\nReturns a random element of the given array or string.\n\n* `Random.hexString(n)`\nReturns a random string of n hexadecimal digits.\n\n\nFor more information see [Meteor's Random Docs](http://docs.meteor.com/#/full/random)\n","readmeFilename":"README.md"}