{"_id":"math-random","_rev":"41288","name":"math-random","description":"math-random is an isomorphic, drop-in replacement for `Math.random` that uses cryptographically secure random number generation, where available","dist-tags":{"latest":"2.0.1"},"maintainers":[{"name":"michaelrhodes","email":"spam@michaelrhod.es"}],"time":{"modified":"2021-06-03T10:12:27.000Z","created":"2017-07-13T07:48:30.370Z","2.0.1":"2020-08-07T02:08:26.970Z","2.0.0":"2020-07-17T12:18:49.006Z","1.0.4":"2019-01-15T14:37:24.288Z","1.0.3":"2019-01-15T00:51:05.048Z","1.0.2":"2019-01-13T01:26:37.753Z","1.0.1":"2017-07-13T13:06:58.396Z","1.0.0":"2017-07-13T07:48:30.370Z"},"users":{},"author":{"name":"Michael Rhodes"},"repository":{"type":"git","url":"git+https://github.com/michaelrhodes/math-random.git"},"versions":{"2.0.1":{"name":"math-random","author":{"name":"Michael Rhodes"},"version":"2.0.1","main":"node","browser":{"./node":"./browser/index","./crypto":"./browser/crypto"},"repository":{"type":"git","url":"git+https://github.com/michaelrhodes/math-random.git"},"license":"CC0-1.0","devDependencies":{"dexy":"github:michaelrhodes/dexy#1.0.4"},"scripts":{"test":"dexy test"},"gitHead":"bcec354e715a16bd2ab2ce9eb94e2d41dc77803d","description":"math-random is an isomorphic, drop-in replacement for `Math.random` that uses cryptographically secure random number generation, where available","bugs":{"url":"https://github.com/michaelrhodes/math-random/issues"},"homepage":"https://github.com/michaelrhodes/math-random#readme","_id":"math-random@2.0.1","_nodeVersion":"12.16.3","_npmVersion":"6.14.7","dist":{"shasum":"5604b16c6a9a4aee63aff13937fb909b27e46b3a","size":991,"noattachment":false,"key":"/math-random/-/math-random-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/math-random/download/math-random-2.0.1.tgz"},"maintainers":[{"name":"michaelrhodes","email":"spam@michaelrhod.es"}],"_npmUser":{"name":"michaelrhodes","email":"spam@michaelrhod.es"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/math-random_2.0.1_1596766106756_0.16112202159172573"},"_hasShrinkwrap":false,"publish_time":1596766106970,"_cnpm_publish_time":1596766106970},"2.0.0":{"name":"math-random","author":{"name":"Michael Rhodes"},"version":"2.0.0","main":"node","browser":{"./node":"./browser/index","./crypto":"./browser/crypto"},"repository":{"type":"git","url":"git+https://github.com/michaelrhodes/math-random.git"},"license":"CC0-1.0","devDependencies":{"array-unique":"~0.2.1","dexy":"github:michaelrhodes/dexy#1.0.4"},"scripts":{"test":"dexy test"},"gitHead":"c2e009f61ffd30e8fe246ff24b95ca97ebf324d7","description":"math-random is an isomorphic, drop-in replacement for `Math.random` that uses cryptographically secure random number generation, where available","bugs":{"url":"https://github.com/michaelrhodes/math-random/issues"},"homepage":"https://github.com/michaelrhodes/math-random#readme","_id":"math-random@2.0.0","_nodeVersion":"12.16.3","_npmVersion":"6.14.5","dist":{"shasum":"99c25478b04b0322f3117933c74cb82e095ef4ce","size":1304,"noattachment":false,"key":"/math-random/-/math-random-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/math-random/download/math-random-2.0.0.tgz"},"maintainers":[{"name":"michaelrhodes","email":"spam@michaelrhod.es"}],"_npmUser":{"name":"michaelrhodes","email":"spam@michaelrhod.es"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/math-random_2.0.0_1594988328879_0.6982207628352313"},"_hasShrinkwrap":false,"publish_time":1594988329006,"_cnpm_publish_time":1594988329006},"1.0.4":{"name":"math-random","author":{"name":"Michael Rhodes"},"version":"1.0.4","main":"node.js","browser":"browser.js","repository":{"type":"git","url":"git+https://github.com/michaelrhodes/math-random.git"},"license":"MIT","scripts":{"test":"dexy test.js"},"devDependencies":{"array-unique":"~0.2.1","dexy":"github:michaelrhodes/dexy#1.0.1"},"gitHead":"13ed513bd579eb868b5054b38836411ae6e29f6a","description":"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.","bugs":{"url":"https://github.com/michaelrhodes/math-random/issues"},"homepage":"https://github.com/michaelrhodes/math-random#readme","_id":"math-random@1.0.4","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"michaelrhodes","email":"spam@michaelrhod.es"},"dist":{"shasum":"5dd6943c938548267016d4e34f057583080c514c","size":1269,"noattachment":false,"key":"/math-random/-/math-random-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/math-random/download/math-random-1.0.4.tgz"},"maintainers":[{"name":"michaelrhodes","email":"spam@michaelrhod.es"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/math-random_1.0.4_1547563044096_0.5497085122594167"},"_hasShrinkwrap":false,"publish_time":1547563044288,"_cnpm_publish_time":1547563044288},"1.0.3":{"name":"math-random","author":{"name":"Michael Rhodes"},"version":"1.0.3","main":"node.js","browser":{"node.js":"browser.js","assert":"console.assert"},"repository":{"type":"git","url":"git+https://github.com/michaelrhodes/math-random.git"},"license":"MIT","scripts":{"test":"node test.js"},"devDependencies":{"array-unique":"~0.2.1","console.assert":"github:michaelrhodes/console.assert#1.0.0"},"gitHead":"1f5b2b8431dad3cc1932fdacf88fa92329f5c6bc","description":"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.","bugs":{"url":"https://github.com/michaelrhodes/math-random/issues"},"homepage":"https://github.com/michaelrhodes/math-random#readme","_id":"math-random@1.0.3","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"michaelrhodes","email":"spam@michaelrhod.es"},"dist":{"shasum":"5843d8307f8d2fd83de240701eeb2dc7bc77a104","size":1273,"noattachment":false,"key":"/math-random/-/math-random-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/math-random/download/math-random-1.0.3.tgz"},"maintainers":[{"name":"michaelrhodes","email":"spam@michaelrhod.es"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/math-random_1.0.3_1547513464903_0.05717532478237186"},"_hasShrinkwrap":false,"publish_time":1547513465048,"_cnpm_publish_time":1547513465048},"1.0.2":{"name":"math-random","version":"1.0.2","description":"a drop-in replacement for Math.random that uses cryptographically secure random number generation, where available","main":"node.js","browser":"browser.js","scripts":{"test":"tape test.js"},"devDependencies":{"array-unique":"~0.2.1","tape":"~4.2.2"},"testling":{"files":"test.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/michaelrhodes/math-random.git"},"keywords":["Math.random","crypto.getRandomValues"],"author":{"name":"Michael Rhodes"},"license":"MIT","bugs":{"url":"https://github.com/michaelrhodes/math-random/issues"},"homepage":"https://github.com/michaelrhodes/math-random","gitHead":"ca65e6a55a02f36488c69c049be80225b4a2891a","_id":"math-random@1.0.2","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"michaelrhodes","email":"spam@michaelrhod.es"},"dist":{"shasum":"8ab7f026363816c1e00b774d87dee67f61e37ad6","size":1401,"noattachment":false,"key":"/math-random/-/math-random-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/math-random/download/math-random-1.0.2.tgz"},"maintainers":[{"name":"michaelrhodes","email":"spam@michaelrhod.es"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/math-random_1.0.2_1547342797616_0.4301245173864843"},"_hasShrinkwrap":false,"publish_time":1547342797753,"_cnpm_publish_time":1547342797753},"1.0.1":{"name":"math-random","version":"1.0.1","description":"a drop-in replacement for Math.random that uses cryptographically secure random number generation, where available","main":"node.js","browser":"browser.js","scripts":{"test":"tape test.js"},"devDependencies":{"array-unique":"~0.2.1","tape":"~4.2.2"},"testling":{"files":"test.js"},"repository":{"type":"git","url":"git@github.com:michaelrhodes/math-random"},"keywords":["Math.random","crypto.getRandomValues"],"author":{"name":"Michael Rhodes"},"license":"MIT","bugs":{"url":"https://github.com/michaelrhodes/math-random/issues"},"homepage":"https://github.com/michaelrhodes/math-random","gitHead":"14f9d4cb231e26156e1295d4d55b624dfdb54d3c","_id":"math-random@1.0.1","_shasum":"8b3aac588b8a66e4975e3cdea67f7bb329601fac","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.2","_npmUser":{"name":"michaelrhodes","email":"spam@michaelrhod.es"},"maintainers":[{"name":"michaelrhodes","email":"spam@michaelrhod.es"}],"dist":{"shasum":"8b3aac588b8a66e4975e3cdea67f7bb329601fac","size":1482,"noattachment":false,"key":"/math-random/-/math-random-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/math-random/download/math-random-1.0.1.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/math-random-1.0.1.tgz_1499951218271_0.3070336836390197"},"directories":{},"publish_time":1499951218396,"_cnpm_publish_time":1499951218396,"_hasShrinkwrap":false},"1.0.0":{"name":"math-random","version":"1.0.0","description":"a drop-in replacement for Math.random that uses cryptographically secure random number generation, where available","main":"node.js","browser":"browser.js","scripts":{"test":"tape test.js"},"devDependencies":{"array-unique":"~0.2.1","tape":"~4.2.2"},"testling":{"files":"test.js"},"repository":{"type":"git","url":"git@github.com:michaelrhodes/math-random"},"keywords":["Math.random","crypto.getRandomValues"],"author":{"name":"Michael Rhodes"},"license":"MIT","bugs":{"url":"https://github.com/michaelrhodes/math-random/issues"},"homepage":"https://github.com/michaelrhodes/math-random","gitHead":"fcac917194833c8d6ff3c5523d90cd82c8e84737","_id":"math-random@1.0.0","_shasum":"752be706d12501519dad3bbb226d60511fbba058","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.2","_npmUser":{"name":"michaelrhodes","email":"spam@michaelrhod.es"},"maintainers":[{"name":"michaelrhodes","email":"spam@michaelrhod.es"}],"dist":{"shasum":"752be706d12501519dad3bbb226d60511fbba058","size":1477,"noattachment":false,"key":"/math-random/-/math-random-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/math-random/download/math-random-1.0.0.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/math-random-1.0.0.tgz_1499932110262_0.7981481049209833"},"directories":{},"publish_time":1499932110370,"_hasShrinkwrap":false,"_cnpm_publish_time":1499932110370}},"readme":"# math-random\n\nmath-random is an isomorphic, drop-in replacement for `Math.random` that uses cryptographically secure random number generation, where available\n\n[![ci](https://travis-ci.org/michaelrhodes/math-random.svg?branch=master)](https://travis-ci.org/michaelrhodes/math-random)\n\n## install\n```sh\nnpm install math-random\n```\n\n## use\n```js\nconsole.log(require('math-random')())\n=> 0.584293719381094\n\nconsole.log(require('math-random/is-secure'))\n=> true || false\n```\n\n## obey\n[CC0-1.0](https://creativecommons.org/publicdomain/zero/1.0/)\n","_attachments":{},"homepage":"https://github.com/michaelrhodes/math-random#readme","bugs":{"url":"https://github.com/michaelrhodes/math-random/issues"},"license":"CC0-1.0"}