{"_id":"meteor-random","_rev":"10-71117dc49a9620b7abe9b7ac0b6f0d36","name":"meteor-random","description":"Meteor's Random Package for Straight Node","dist-tags":{"latest":"0.0.3"},"versions":{"0.0.1":{"name":"meteor-random","version":"0.0.1","description":"Meteor's Random Package for Straight Node","main":"index.js","scripts":{"test":"node test.js"},"author":{"name":"Trever Faden"},"license":"BSD-2-Clause","dependencies":{"crypto":"0.0.3"},"devDependencies":{},"gitHead":"4a3b6a4803f81814c4485941a314fb338796864a","_id":"meteor-random@0.0.1","_shasum":"803e209b1e50fe68c7ee6480babb2e126f59d6ea","_from":".","_npmVersion":"2.1.18","_nodeVersion":"0.10.22","_npmUser":{"name":"trever","email":"trever@rebelmail.com"},"maintainers":[{"name":"trever","email":"trever@rebelmail.com"}],"dist":{"shasum":"803e209b1e50fe68c7ee6480babb2e126f59d6ea","tarball":"https://registry.npmjs.org/meteor-random/-/meteor-random-0.0.1.tgz","integrity":"sha512-WW1o2IJ33EX63dHF1hun7X4NSy4zj0HN9MHflR0/fozjOe/uwz0CA5tj4yzmABdo5NHoFrhZ6vKwcwvMZoLwQw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFK8aRATjJ4nAVBAuDpA7ouRFLR9evEh4ySSm6C6tSDLAiEAwEKuczpmlJQHxoftRkYxf4Tgs1BIzHcrhLjoqAA3H/o="}]}},"0.0.2":{"name":"meteor-random","version":"0.0.2","description":"Meteor's Random Package for Straight Node","main":"index.js","scripts":{"test":"node test.js"},"author":{"name":"Trever Faden"},"license":"BSD-2-Clause","dependencies":{"crypto":"0.0.3"},"devDependencies":{},"gitHead":"d6da83cc8cf157b54f15dca5ab48b63c97e5b6ba","_id":"meteor-random@0.0.2","_shasum":"dc11189553a196694e8b9ebe1b65d932391055ff","_from":".","_npmVersion":"2.1.18","_nodeVersion":"0.10.22","_npmUser":{"name":"trever","email":"trever@rebelmail.com"},"maintainers":[{"name":"trever","email":"trever@rebelmail.com"}],"dist":{"shasum":"dc11189553a196694e8b9ebe1b65d932391055ff","tarball":"https://registry.npmjs.org/meteor-random/-/meteor-random-0.0.2.tgz","integrity":"sha512-SaSY+nOZ0cGWgJfDGV8sjArD4UCOXdRqu1QDyJO5/esSO8fdf2XipxTsDMNQdzKqk9DYQTiIwAYQux2PGCnV4w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGcDrz3R5ddttz20s0UfFkjlQ78y+vc31gdfIaxYaP8RAiEA8Iij31yFWSrDsKa2KT1WYIq+XpzjfYWmgTEJYt+wju8="}]}},"0.0.3":{"name":"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","dependencies":{"crypto":"0.0.3"},"devDependencies":{},"repository":{"type":"git","url":"https://github.com/RebelMail/meteor-random.git"},"keywords":["random","meteor","crypto","api","key","generator","api","keys","tokens","UUID"],"bugs":{"url":"https://github.com/RebelMail/meteor-random/issues"},"homepage":"https://github.com/RebelMail/meteor-random","gitHead":"ecc2f89dafc8e6d475dec46801fe487a24b3c413","_id":"meteor-random@0.0.3","_shasum":"0d1489ecdb9bcb58bb52decebfbceddf54473a68","_from":".","_npmVersion":"2.1.18","_nodeVersion":"0.10.22","_npmUser":{"name":"trever","email":"trever@rebelmail.com"},"maintainers":[{"name":"trever","email":"trever@rebelmail.com"}],"dist":{"shasum":"0d1489ecdb9bcb58bb52decebfbceddf54473a68","tarball":"https://registry.npmjs.org/meteor-random/-/meteor-random-0.0.3.tgz","integrity":"sha512-RV8gIvZwkVqWGEICmV0CTL/N0x/mWxOoejaiURf3wi5/WqSnmXgb+Gy3XyMHELxXveuTa+lnDX110DNHfH80yw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQChqOhyCPAFF6b/Tq36pB7QMpXjdYy6cvsEyBKWSv6TRgIgUF9FZMH/S7NdgrbztKF4pKwY/NeiCu5fd8OYFRU2h3s="}]}}},"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","maintainers":[{"name":"trever","email":"trever@rebelmail.com"}],"time":{"modified":"2022-06-19T18:25:40.326Z","created":"2015-01-10T16:23:49.762Z","0.0.1":"2015-01-10T16:23:49.762Z","0.0.2":"2015-01-10T16:56:14.425Z","0.0.3":"2015-01-11T16:21:03.957Z"},"author":{"name":"Trever Faden"},"license":"BSD-2-Clause","readmeFilename":"README.md","homepage":"https://github.com/RebelMail/meteor-random","keywords":["random","meteor","crypto","api","key","generator","api","keys","tokens","UUID"],"repository":{"type":"git","url":"https://github.com/RebelMail/meteor-random.git"},"bugs":{"url":"https://github.com/RebelMail/meteor-random/issues"},"users":{"drdanryan":true,"zuizuihao":true}}