{"_id":"knuth-shuffle-seeded","_rev":"20-f361e0608f05e8de1c0beaee54bc7a11","name":"knuth-shuffle-seeded","description":"The Fisher-Yates (aka Knuth) shuffle for Node.js, with seeding support","dist-tags":{"latest":"1.0.6"},"versions":{"0.0.0":{"name":"knuth-shuffle-seeded","version":"0.0.0","description":"The Fisher-Yates (aka Knuth) shuffle for Node.js, with seeding support","main":"index.js","scripts":{"test":"node example.js"},"repository":{"type":"git","url":"git://github.com/coolaj86/knuth-shuffle.git"},"keywords":["ronald","fisher","frank","yates","fisher-yates","donald","knuth","shuffle","random","randomize","unbiased","algorithm"],"author":{"name":"AJ ONeal","email":"coolaj86@gmail.com","url":"http://coolaj86.info/"},"contributor":["Timothy Gu <timothygu99@gmail.com> (https://timothygu.github.io/)"],"license":"Apache2","bugs":{"url":"https://github.com/TimothyGu/knuth-shuffle-seeded/issues"},"dependencies":{"seed-random":"^2.2.0"},"gitHead":"502a7b56e2ac99ecae7622517b7b0ee77de03ecc","homepage":"https://github.com/coolaj86/knuth-shuffle","_id":"knuth-shuffle-seeded@0.0.0","_shasum":"4544ee24a9cb00b940fcf47b24a938496ee43d42","_from":".","_npmVersion":"2.1.18","_nodeVersion":"0.10.25","_npmUser":{"name":"timothygu","email":"timothygu99@gmail.com"},"maintainers":[{"name":"timothygu","email":"timothygu99@gmail.com"}],"dist":{"shasum":"4544ee24a9cb00b940fcf47b24a938496ee43d42","tarball":"https://registry.npmjs.org/knuth-shuffle-seeded/-/knuth-shuffle-seeded-0.0.0.tgz","integrity":"sha512-UIQjT/QO6tIwzM3+eCsOPFI66KTnfZPTzma5eTYtpl655EZTpOpmlLBXz/glKkukmQv4A/Y9SGSEl5kTqLSPZg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH04DK2PEmSqOunXHYr4ioieQZxEPVxH1lvmXr0Lh96AAiEA8NbpIAtOtGZcqxZezfRe4/4+PcfO0oBZe2je6A3BQ4o="}]},"directories":{}},"1.0.0":{"name":"knuth-shuffle-seeded","version":"1.0.0","description":"The Fisher-Yates (aka Knuth) shuffle for Node.js, with seeding support","main":"index.js","scripts":{"test":"node example.js","prepublish":"browserify -s shuffle -g uglifyify -o shuffle.js index.js"},"repository":{"type":"git","url":"git://github.com/coolaj86/knuth-shuffle.git"},"keywords":["ronald","fisher","frank","yates","fisher-yates","donald","knuth","shuffle","random","randomize","unbiased","algorithm"],"author":{"name":"AJ O'Neal","email":"coolaj86@gmail.com","url":"http://coolaj86.info/"},"contributor":["Timothy Gu <timothygu99@gmail.com> (https://timothygu.github.io/)"],"license":"Apache-2.0","bugs":{"url":"https://github.com/TimothyGu/knuth-shuffle-seeded/issues"},"dependencies":{"seed-random":"^2.2.0"},"devDependencies":{"browserify":"^8.1.1","uglifyify":"^3.0.1"},"gitHead":"341c46f43f267c05aacca1b02e988dbc3c248a2b","homepage":"https://github.com/coolaj86/knuth-shuffle","_id":"knuth-shuffle-seeded@1.0.0","_shasum":"093fa9d8509ad3834c35c3c89c19d0b910e9d4db","_from":".","_npmVersion":"2.1.18","_nodeVersion":"0.10.25","_npmUser":{"name":"timothygu","email":"timothygu99@gmail.com"},"maintainers":[{"name":"timothygu","email":"timothygu99@gmail.com"}],"dist":{"shasum":"093fa9d8509ad3834c35c3c89c19d0b910e9d4db","tarball":"https://registry.npmjs.org/knuth-shuffle-seeded/-/knuth-shuffle-seeded-1.0.0.tgz","integrity":"sha512-2rsSj97KWWCMM2szy2VFwAvEovmyP9slNn+R92WI4pbNXgrKtnVNt3Gl4D84ehLXmB4/dm5cdAafem+fwvqaaA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEFjI8Sh7xXSbOof2NAPFVpRhC+X96dBUQLtj4ZJA104AiA4ovrim5FAIgvtE1QtJf9rQKxUKNuTHAFqpVSw/hCeEw=="}]},"directories":{}},"1.0.1":{"name":"knuth-shuffle-seeded","version":"1.0.1","description":"The Fisher-Yates (aka Knuth) shuffle for Node.js, with seeding support","main":"index.js","scripts":{"test":"node example.js","prepublish":"browserify -s shuffle -g uglifyify -o shuffle.js index.js"},"homepage":"https://github.com/TimothyGu/knuth-shuffle-seeded","repository":{"type":"git","url":"git://github.com/TimothyGu/knuth-shuffle-seeded.git"},"keywords":["ronald","fisher","frank","yates","fisher-yates","donald","knuth","shuffle","random","randomize","unbiased","algorithm"],"author":{"name":"AJ O'Neal","email":"coolaj86@gmail.com","url":"http://coolaj86.info/"},"contributors":[{"name":"Timothy Gu","email":"timothygu99@gmail.com","url":"https://timothygu.github.io/"}],"license":"Apache-2.0","bugs":{"url":"https://github.com/TimothyGu/knuth-shuffle-seeded/issues"},"engines":{"node":">=0.10.0"},"dependencies":{"seed-random":"^2.2.0"},"devDependencies":{"browserify":"^8.1.1","uglifyify":"^3.0.1"},"gitHead":"756c54c5ace44d49dcefae187773232810cd5cef","_id":"knuth-shuffle-seeded@1.0.1","_shasum":"2359b858e5951d3ffc690b32160cb37f6939e99a","_from":".","_npmVersion":"2.1.18","_nodeVersion":"0.10.25","_npmUser":{"name":"timothygu","email":"timothygu99@gmail.com"},"maintainers":[{"name":"timothygu","email":"timothygu99@gmail.com"}],"dist":{"shasum":"2359b858e5951d3ffc690b32160cb37f6939e99a","tarball":"https://registry.npmjs.org/knuth-shuffle-seeded/-/knuth-shuffle-seeded-1.0.1.tgz","integrity":"sha512-38jviQl692cqfVxaxoVHwpmSVnldva6JlCVLYLjcQEyi/Oaf2XV2JvzqGcPDqXxz4OuEfbT2KJQ7B/7uiQb5pg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDX054hF3PQsUt01gdVcmSiFh5Clb3VyQb2v8/pyLzDaAIgRqnzEmO9QHztbcBT88FtVNwr/QZ/vfnRXsPuhlJMom0="}]},"directories":{}},"1.0.2":{"name":"knuth-shuffle-seeded","version":"1.0.2","description":"The Fisher-Yates (aka Knuth) shuffle for Node.js, with seeding support","main":"index.js","scripts":{"test":"node example.js","prepublish":"browserify -s shuffle -g uglifyify -o shuffle.js index.js"},"homepage":"https://github.com/TimothyGu/knuth-shuffle-seeded","repository":{"type":"git","url":"git://github.com/TimothyGu/knuth-shuffle-seeded.git"},"keywords":["ronald","fisher","frank","yates","fisher-yates","donald","knuth","shuffle","random","randomize","unbiased","algorithm"],"author":{"name":"AJ O'Neal","email":"coolaj86@gmail.com","url":"http://coolaj86.info/"},"contributors":[{"name":"Timothy Gu","email":"timothygu99@gmail.com","url":"https://timothygu.github.io/"}],"license":"Apache-2.0","bugs":{"url":"https://github.com/TimothyGu/knuth-shuffle-seeded/issues"},"engines":{"node":">=0.10.0"},"dependencies":{"seed-random":"^2.2.0"},"devDependencies":{"browserify":"^8.1.1","uglifyify":"^3.0.1"},"gitHead":"07adec76c8aa8711c9454ff0c38c3f92eed2621f","_id":"knuth-shuffle-seeded@1.0.2","_shasum":"f9a2078c6ec35dcddc1f94c7d0eaaee817556985","_from":".","_npmVersion":"2.1.18","_nodeVersion":"0.10.25","_npmUser":{"name":"timothygu","email":"timothygu99@gmail.com"},"maintainers":[{"name":"timothygu","email":"timothygu99@gmail.com"}],"dist":{"shasum":"f9a2078c6ec35dcddc1f94c7d0eaaee817556985","tarball":"https://registry.npmjs.org/knuth-shuffle-seeded/-/knuth-shuffle-seeded-1.0.2.tgz","integrity":"sha512-wX8tRtLIn2siUwN7z3sCzyNnPjzw+rL+0f+9coQhTljaNKdeteAo4w4/2NbyRsGMPHb6wiaHEMe+lwQTigfXbA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCIrfjYSiJpJlEP7GcYZXkIhaZZJdiRlmg/yrokNmjt1QIgD9mRo1sxzP9bYw2IduvH6qh6GASZyOpH28wXXDlZuLo="}]},"directories":{}},"1.0.3":{"name":"knuth-shuffle-seeded","version":"1.0.3","description":"The Fisher-Yates (aka Knuth) shuffle for Node.js, with seeding support","main":"index.js","scripts":{"test":"node example.js","prepublish":"browserify -s shuffle -g uglifyify -o shuffle.js index.js"},"homepage":"https://github.com/TimothyGu/knuth-shuffle-seeded","repository":{"type":"git","url":"git://github.com/TimothyGu/knuth-shuffle-seeded.git"},"keywords":["ronald","fisher","frank","yates","fisher-yates","donald","knuth","shuffle","random","randomize","unbiased","algorithm"],"author":{"name":"AJ O'Neal","email":"coolaj86@gmail.com","url":"http://coolaj86.info/"},"contributors":[{"name":"Timothy Gu","email":"timothygu99@gmail.com","url":"https://timothygu.github.io/"}],"license":"Apache-2.0","bugs":{"url":"https://github.com/TimothyGu/knuth-shuffle-seeded/issues"},"engines":{"node":">=0.10.0"},"dependencies":{"seed-random":"^2.2.0"},"devDependencies":{"browserify":"^8.1.1","uglifyify":"^3.0.1"},"gitHead":"b14e099f6acc5fd180b10a176f0fc3ecbb7bee17","_id":"knuth-shuffle-seeded@1.0.3","_shasum":"8979770790f2d5e4592fd7f116a15bbb72863c2a","_from":".","_npmVersion":"2.1.18","_nodeVersion":"0.10.25","_npmUser":{"name":"timothygu","email":"timothygu99@gmail.com"},"maintainers":[{"name":"timothygu","email":"timothygu99@gmail.com"}],"dist":{"shasum":"8979770790f2d5e4592fd7f116a15bbb72863c2a","tarball":"https://registry.npmjs.org/knuth-shuffle-seeded/-/knuth-shuffle-seeded-1.0.3.tgz","integrity":"sha512-+x2jUP6+uGSTRHqW5Kc8YTyAz6Gb6pdXWVGqPsKPIG0aGy8AG2mmfaZVNhKdBEAPOm4DtqejyKDt6uTA/wnfPQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC5qswXoPLvlNDMfz+i38Sl4FeiuKvlB2afaJxFzTIuQAiBq0rP1N+bmetkJOERGxb/QXXSNLVq6bwjBVZnE4OMYVQ=="}]},"directories":{}},"1.0.4":{"name":"knuth-shuffle-seeded","version":"1.0.4","description":"The Fisher-Yates (aka Knuth) shuffle for Node.js, with seeding support","main":"index.js","scripts":{"test":"node example.js","prepublish":"browserify -s shuffle -g uglifyify -o shuffle.js index.js"},"homepage":"https://github.com/TimothyGu/knuth-shuffle-seeded","repository":{"type":"git","url":"git://github.com/TimothyGu/knuth-shuffle-seeded.git"},"keywords":["ronald","fisher","frank","yates","fisher-yates","donald","knuth","shuffle","random","randomize","unbiased","algorithm"],"author":{"name":"AJ O'Neal","email":"coolaj86@gmail.com","url":"http://coolaj86.info/"},"contributors":[{"name":"Timothy Gu","email":"timothygu99@gmail.com","url":"https://timothygu.github.io/"}],"license":"Apache-2.0","bugs":{"url":"https://github.com/TimothyGu/knuth-shuffle-seeded/issues"},"dependencies":{"seed-random":"^2.2.0"},"devDependencies":{"browserify":"^8.1.1","uglifyify":"^3.0.1"},"gitHead":"3e1c4ed5279a435214f41b2fbb8fa23427758025","_id":"knuth-shuffle-seeded@1.0.4","_shasum":"1d473695bd454d4a8d702cade0d0c831ca0b2f6b","_from":".","_npmVersion":"2.1.18","_nodeVersion":"0.10.25","_npmUser":{"name":"timothygu","email":"timothygu99@gmail.com"},"maintainers":[{"name":"timothygu","email":"timothygu99@gmail.com"}],"dist":{"shasum":"1d473695bd454d4a8d702cade0d0c831ca0b2f6b","tarball":"https://registry.npmjs.org/knuth-shuffle-seeded/-/knuth-shuffle-seeded-1.0.4.tgz","integrity":"sha512-CbK47oMQfVA8eyhaUqwDEpD75Xz+nKmtcVqbTj9Ai1h/pyqs2j0pF7jxRdaCXBYV00pNUGeTPPR+yCFaokAJNQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCMCuBi22HIB22vas37ho0o6csUfriop5YzOw01osuQ4wIgJrVeDna+yoOjqV1TxHhdTLKHuid9eJvQ/eYLGL0SMaA="}]},"directories":{}},"1.0.5":{"name":"knuth-shuffle-seeded","version":"1.0.5","description":"The Fisher-Yates (aka Knuth) shuffle for Node.js, with seeding support","main":"index.js","scripts":{"test":"node example.js","prepublish":"browserify -s shuffle -g uglifyify -o shuffle.js index.js"},"homepage":"https://github.com/TimothyGu/knuth-shuffle-seeded","repository":{"type":"git","url":"git://github.com/TimothyGu/knuth-shuffle-seeded.git"},"keywords":["ronald","fisher","frank","yates","fisher-yates","donald","knuth","shuffle","random","randomize","unbiased","algorithm"],"author":{"name":"AJ O'Neal","email":"coolaj86@gmail.com","url":"http://coolaj86.info/"},"contributors":[{"name":"Timothy Gu","email":"timothygu99@gmail.com","url":"https://timothygu.github.io/"}],"license":"Apache-2.0","bugs":{"url":"https://github.com/TimothyGu/knuth-shuffle-seeded/issues"},"dependencies":{"seed-random":"~2.2.0"},"devDependencies":{"browserify":"~8.1.1","uglifyify":"~3.0.1"},"gitHead":"2c074b71fbe3cfe5a8d155ff244f66568887e442","_id":"knuth-shuffle-seeded@1.0.5","_shasum":"242fbe8356e5638903e2506f984bf9955e701dfe","_from":".","_npmVersion":"2.1.18","_nodeVersion":"0.10.25","_npmUser":{"name":"timothygu","email":"timothygu99@gmail.com"},"maintainers":[{"name":"timothygu","email":"timothygu99@gmail.com"}],"dist":{"shasum":"242fbe8356e5638903e2506f984bf9955e701dfe","tarball":"https://registry.npmjs.org/knuth-shuffle-seeded/-/knuth-shuffle-seeded-1.0.5.tgz","integrity":"sha512-rOeYuh9qaxOHPpGBq6FMvNiZjz3HFAiflcPBdrDcIX+w0LsE33FhT9qJIKIB0fCJsZOJZ7tp+hUshEtNkgSQMQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDIBleNp47Tbf/LxxyL4VnnJMLQYcLI07W5p6QpLHjaEAiEA/Yrea1odoDzUjJxN/LTehOZM3eWovB4ScfKqicHOppY="}]},"directories":{}},"1.0.6":{"name":"knuth-shuffle-seeded","version":"1.0.6","description":"The Fisher-Yates (aka Knuth) shuffle for Node.js, with seeding support","main":"index.js","scripts":{"test":"mocha","browserify":"browserify -s shuffle -g uglifyify -o browser.js index.js","prepublish":"npm run browserify","coverage":"istanbul cover node_modules/mocha/bin/_mocha","codecov":"npm run coverage && cat ./coverage/lcov.info | codecov"},"homepage":"https://github.com/TimothyGu/knuth-shuffle-seeded","repository":{"type":"git","url":"git://github.com/TimothyGu/knuth-shuffle-seeded.git"},"keywords":["ronald","fisher","frank","yates","fisher-yates","donald","knuth","shuffle","random","randomize","unbiased","algorithm"],"author":{"name":"AJ O'Neal","email":"coolaj86@gmail.com","url":"http://coolaj86.info/"},"contributors":[{"name":"Timothy Gu","email":"timothygu99@gmail.com","url":"https://timothygu.github.io/"}],"license":"Apache-2.0","bugs":{"url":"https://github.com/TimothyGu/knuth-shuffle-seeded/issues"},"dependencies":{"seed-random":"~2.2.0"},"devDependencies":{"browserify":"~8.1.1","codecov.io":"~0.0.8","istanbul":"~0.3.5","mocha":"~2.1.0","uglifyify":"~3.0.1"},"gitHead":"a883adf56b81652a6f487843d44ab2da47338a1e","_id":"knuth-shuffle-seeded@1.0.6","_shasum":"01f1b65733aa7540ee08d8b0174164d22081e4e1","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.10.25","_npmUser":{"name":"timothygu","email":"timothygu99@gmail.com"},"maintainers":[{"name":"timothygu","email":"timothygu99@gmail.com"}],"dist":{"shasum":"01f1b65733aa7540ee08d8b0174164d22081e4e1","tarball":"https://registry.npmjs.org/knuth-shuffle-seeded/-/knuth-shuffle-seeded-1.0.6.tgz","integrity":"sha512-9pFH0SplrfyKyojCLxZfMcvkhf5hH0d+UwR9nTVJ/DDQJGuzcXjTwB7TP7sDfehSudlGGaOLblmEWqv04ERVWg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIArzVLbFGHwXLMx3YK3HxgNVLvz4EzJGOD1mVerpEn1IAiEAr10tdyI6J1rSvtfGY+ZHLI86Ggmv4Ij/3fRWV84R6t8="}]},"directories":{}}},"readme":"# knuth-shuffle-seeded\n\n[![npm](https://img.shields.io/npm/v/knuth-shuffle-seeded.svg?style=flat)](https://www.npmjs.com/package/knuth-shuffle-seeded)\n[![Build Status](https://img.shields.io/travis/TimothyGu/knuth-shuffle-seeded/gh-pages.svg?style=flat)](https://travis-ci.org/TimothyGu/knuth-shuffle-seeded)\n[![Dependencies](https://img.shields.io/david/TimothyGu/knuth-shuffle-seeded.svg?style=flat)](https://david-dm.org/TimothyGu/knuth-shuffle-seeded#info=dependencies)\n[![devDependencies](https://img.shields.io/david/dev/TimothyGu/knuth-shuffle-seeded.svg?style=flat)](https://david-dm.org/TimothyGu/knuth-shuffle-seeded#info=devDependencies)\n[![Code Coverage](https://img.shields.io/codecov/c/github/TimothyGu/knuth-shuffle-seeded.svg?style=flat)](https://codecov.io/github/TimothyGu/knuth-shuffle-seeded?branch=gh-pages)\n\nThe Fisher-Yates (aka Knuth) shuffle for the browser and Node.js, with seeds\nsupport using [seed-random](https://www.npmjs.com/package/seed-random).\n\nThis project is initially forked from\n[coolaj86/knuth-shuffle](https://github.com/coolaj86/knuth-shuffle), but is\nextended so that it is possible to specify a seed to use in the shuffling, to\nensure test reproducability.\n\nOnline demo: https://timothygu.github.io/knuth-shuffle-seeded/\n\n## Getting Started\n\n### Node.js\n\nInstalling:\n\n```sh\nnpm install knuth-shuffle-seeded\n```\n\n### The Browser\n\nPut browser.js into your directory for JavaScripts. Then take a look at\nindex.html.\n\nYou can also visit the page at\nhttps://timothygu.github.io/knuth-shuffle-seeded/.\n\n### API\n\n```js\nshuffle(inputArray[, seed])\n```\n\nSee example.js for more examples.\n\n## Why not contribute to the original repo?\n\nI have considered that, but the introduction of an npm dependency makes it\nnecessary to use Browserify to generate a browser-compatible JavaScript file,\nwhich is too far away from the simple approach of knuth-shuffle.\n\n## Authors\n\n- AJ O'Neal (@coolaj86) -- initial author\n- Timothy Gu (@TimothyGu) -- seeding support\n\n## License\n\nCopyright 2013 AJ O'Neal\n\nCopyright 2015 Tiancheng \"Timothy\" Gu\n\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not\nuse this project except in compliance with the License. You may obtain a copy\nof the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n","maintainers":[{"name":"timothygu","email":"timothygu99@gmail.com"}],"time":{"modified":"2022-06-19T09:08:34.100Z","created":"2015-01-19T21:10:28.743Z","0.0.0":"2015-01-19T21:10:28.743Z","1.0.0":"2015-01-20T00:12:46.210Z","1.0.1":"2015-01-20T00:19:21.765Z","1.0.2":"2015-01-20T00:43:01.231Z","1.0.3":"2015-01-23T03:04:29.561Z","1.0.4":"2015-01-23T06:23:36.800Z","1.0.5":"2015-01-23T06:52:48.672Z","1.0.6":"2015-01-31T02:31:02.658Z"},"homepage":"https://github.com/TimothyGu/knuth-shuffle-seeded","keywords":["ronald","fisher","frank","yates","fisher-yates","donald","knuth","shuffle","random","randomize","unbiased","algorithm"],"repository":{"type":"git","url":"git://github.com/TimothyGu/knuth-shuffle-seeded.git"},"author":{"name":"AJ O'Neal","email":"coolaj86@gmail.com","url":"http://coolaj86.info/"},"bugs":{"url":"https://github.com/TimothyGu/knuth-shuffle-seeded/issues"},"license":"Apache-2.0","readmeFilename":"README.md","contributors":[{"name":"Timothy Gu","email":"timothygu99@gmail.com","url":"https://timothygu.github.io/"}],"users":{"farskipper":true,"aditya_1806":true}}