{"_id":"shuffle","_rev":"22-808c406b515421afe71569d45f7d2b48","name":"shuffle","description":"node.js package for shuffling and dealing decks of cards (or anything else you'd like to shuffle)","dist-tags":{"latest":"0.2.5"},"versions":{"0.1.0":{"author":{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"},"name":"shuffle","version":"0.1.0","description":"node.js package for shuffling and dealing decks of cards (or anything else you'd like to shuffle)","keywords":["shuffle","random","cards","games"],"homepage":"https://github.com/troygoode/node-shuffle/","repository":{"type":"git","url":"git://github.com/troygoode/node-shuffle.git"},"contributors":[{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"}],"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"bugs":{"url":"https://github.com/TroyGoode/node-shuffle/issues"},"main":"./index.js","directories":{"lib":"./lib"},"engines":{"node":">=0.4.0"},"dependencies":{},"devDependencies":{},"_id":"shuffle@0.1.0","_engineSupported":true,"_npmVersion":"1.0.6","_nodeVersion":"v0.4.4","_defaultsLoaded":true,"dist":{"shasum":"b30e0559af63eb019e6258d684e737228a0596d1","tarball":"https://registry.npmjs.org/shuffle/-/shuffle-0.1.0.tgz","integrity":"sha512-QBrWxSmvJ1Nn0WaIzxs4Q1IUucTLTgrKHtok3sVnSTXXEbyQ210TTieZTo7GIPT5Aqy41NFAIV0TZi01sW6Ojg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCcK6Hs36lIgTdUIljHeF80h9MiKoylchjwhhXcf2iL+AIgGJNDVIqCwXwX/JEgTAjUtJB5Shn1AlO1nd+F9W5irtM="}]},"scripts":{}},"0.1.1":{"author":{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"},"name":"shuffle","version":"0.1.1","description":"node.js package for shuffling and dealing decks of cards (or anything else you'd like to shuffle)","keywords":["shuffle","random","cards","games"],"homepage":"https://github.com/troygoode/node-shuffle/","repository":{"type":"git","url":"git://github.com/troygoode/node-shuffle.git"},"contributors":[{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"}],"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"bugs":{"url":"https://github.com/TroyGoode/node-shuffle/issues"},"main":"./lib/index.js","directories":{"lib":"./lib"},"engines":{"node":">=0.4.0"},"dependencies":{},"devDependencies":{},"scripts":{},"_npmUser":{"name":"troygoode","email":"troygoode@gmail.com"},"_id":"shuffle@0.1.1","_engineSupported":true,"_npmVersion":"1.0.106","_nodeVersion":"v0.6.2","_defaultsLoaded":true,"dist":{"shasum":"70bf9c525476a4215a2e3f38dbcbd914fc258837","tarball":"https://registry.npmjs.org/shuffle/-/shuffle-0.1.1.tgz","integrity":"sha512-NGiCz6VS+nlEBZs6NyrcIf6IW5huYo1yf7LyWyo/B9uUkJVKidSpOrFYJ0MtznDmIJDp8rdZI3RsMX6G/EPF4Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHuYpJmBuvKPzsOXK/ht8QnacCjh0224Zg80uSf6IB+NAiEAhU5jVqfJqaqka9TRfyQpZ+owHHy3w+ONpVRDIYf2w6I="}]},"maintainers":[{"name":"troygoode","email":"troygoode@gmail.com"}]},"0.1.2":{"author":{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"},"name":"shuffle","version":"0.1.2","description":"node.js package for shuffling and dealing decks of cards (or anything else you'd like to shuffle)","keywords":["shuffle","random","cards","games"],"homepage":"https://github.com/troygoode/node-shuffle/","repository":{"type":"git","url":"git://github.com/troygoode/node-shuffle.git"},"contributors":[{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"}],"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"bugs":{"url":"https://github.com/TroyGoode/node-shuffle/issues"},"main":"./lib/index.js","directories":{"lib":"./lib"},"engines":{"node":">=0.4.0"},"dependencies":{},"devDependencies":{},"scripts":{},"_npmUser":{"name":"troygoode","email":"troygoode@gmail.com"},"_id":"shuffle@0.1.2","_engineSupported":true,"_npmVersion":"1.0.106","_nodeVersion":"v0.6.6","_defaultsLoaded":true,"dist":{"shasum":"df34cc45e8f47678a05596c29311f744596ba73e","tarball":"https://registry.npmjs.org/shuffle/-/shuffle-0.1.2.tgz","integrity":"sha512-mDyBoZCKV1nFkXELNRSGGv2mr3LjwBcMr5lrjssdb7MTLt+f2FUaBoVCPmSCe5jLfO4uY7o5Q5rERzp/FcNWUA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH/SrOaOZ0RXN9s5xe+6hVLJ8oZfkCRmR6Y9i0ZZZww/AiEAswq8sidBUpepyIhuvri2I+oQHxlapln+IbcF0SxP5OM="}]},"maintainers":[{"name":"troygoode","email":"troygoode@gmail.com"}]},"0.2.0":{"author":{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"},"name":"shuffle","version":"0.2.0","description":"node.js package for shuffling and dealing decks of cards (or anything else you'd like to shuffle)","keywords":["shuffle","random","cards","games"],"homepage":"https://github.com/troygoode/node-shuffle/","repository":{"type":"git","url":"git://github.com/troygoode/node-shuffle.git"},"contributors":[{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"}],"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"bugs":{"url":"https://github.com/TroyGoode/node-shuffle/issues"},"main":"./lib/index.js","directories":{"lib":"./lib"},"engines":{"node":">=0.4.0"},"dependencies":{},"devDependencies":{"mocha":"latest","should":"latest"},"scripts":{"test":"mocha","start":"node example/blackjack.js"},"_id":"shuffle@0.2.0","dist":{"shasum":"b768714b7238964f4b048795c3d8caf74db59120","tarball":"https://registry.npmjs.org/shuffle/-/shuffle-0.2.0.tgz","integrity":"sha512-QyBy07c4TaBZDfTSSnUAW0f7fMhKjsRlSdmYK9n3DxCPXp8qfWeR1oWEXUzeZcMNpUjdk9NIrVnS2wdB4iEZfw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC9vcnt6OxywR7ciN9kXa2uEV6UJ0CCvVuYUoNkFPtJDAIhALEvUvFH16oZvhDNlqK7RadefB0tFsrHTNeBkGOLn1JF"}]},"_npmVersion":"1.1.66","_npmUser":{"name":"troygoode","email":"troygoode@gmail.com"},"maintainers":[{"name":"troygoode","email":"troygoode@gmail.com"}]},"0.2.1":{"author":{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"},"name":"shuffle","version":"0.2.1","description":"node.js package for shuffling and dealing decks of cards (or anything else you'd like to shuffle)","keywords":["shuffle","random","cards","games"],"homepage":"https://github.com/troygoode/node-shuffle/","repository":{"type":"git","url":"git://github.com/troygoode/node-shuffle.git"},"contributors":[{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"}],"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"bugs":{"url":"https://github.com/TroyGoode/node-shuffle/issues"},"main":"./lib/index.js","directories":{"lib":"./lib"},"engines":{"node":">=0.4.0"},"dependencies":{},"devDependencies":{"mocha":"latest","should":"latest"},"scripts":{"test":"mocha","start":"node example/blackjack.js"},"_id":"shuffle@0.2.1","dist":{"shasum":"720d02d18ee72d7abb5b646e731f3d7e3afffc97","tarball":"https://registry.npmjs.org/shuffle/-/shuffle-0.2.1.tgz","integrity":"sha512-+SKUnLtX8SJOn8H+ThKXScL5N+uTj3/Ojvrtbyr4WVgZp9Or0ne0ZvdYC44cAp/r3XQVRjFX3oV1S0fYkZC3cQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGciA3vbYEJfGC3q4BHEZXF680u9CVZOwzX5MQe3nGOlAiBoprbKrCb2TbPDLqpYkk8da+vO8IXNdNuhoIgOXZ4OLA=="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"troygoode","email":"troygoode@gmail.com"},"maintainers":[{"name":"troygoode","email":"troygoode@gmail.com"}]},"0.2.2":{"author":{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"},"name":"shuffle","version":"0.2.2","description":"node.js package for shuffling and dealing decks of cards (or anything else you'd like to shuffle)","keywords":["shuffle","random","cards","games"],"homepage":"https://github.com/troygoode/node-shuffle/","repository":{"type":"git","url":"git://github.com/troygoode/node-shuffle.git"},"contributors":[{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"}],"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"bugs":{"url":"https://github.com/TroyGoode/node-shuffle/issues"},"main":"./lib/index.js","directories":{"lib":"./lib"},"engines":{"node":">=0.4.0"},"dependencies":{},"devDependencies":{"mocha":"latest","should":"latest"},"scripts":{"test":"mocha","start":"node example/blackjack.js"},"gitHead":"a425875fb04b69afd25cb3e1649f62baee017708","_id":"shuffle@0.2.2","_shasum":"da4de99f165f55cfee7d2540fe099cbcdb1c024c","_from":".","_npmVersion":"2.0.2","_nodeVersion":"0.10.26","_npmUser":{"name":"troygoode","email":"troygoode@gmail.com"},"maintainers":[{"name":"troygoode","email":"troygoode@gmail.com"}],"dist":{"shasum":"da4de99f165f55cfee7d2540fe099cbcdb1c024c","tarball":"https://registry.npmjs.org/shuffle/-/shuffle-0.2.2.tgz","integrity":"sha512-Hi1UhmFEH2mnVsNnEX2vr0vuZ9a2rKFJFXXBV6LrY+C4Gx8vEeoHmDTsOAa6HZT+2yGivd39AgEQMJv+UDDcUA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDtDCh7ZjxfgzsdixHs8WFhEeutJS8NgW0AhXCX7jdUhgIhAKKHcg/hAUfz+2pN38YBYQBrDDyZeoRTSK2FyTC0hH07"}]}},"0.2.3":{"author":{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"},"name":"shuffle","version":"0.2.3","description":"node.js package for shuffling and dealing decks of cards (or anything else you'd like to shuffle)","keywords":["shuffle","random","cards","games"],"homepage":"https://github.com/troygoode/node-shuffle/","repository":{"type":"git","url":"git://github.com/troygoode/node-shuffle.git"},"contributors":[{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"}],"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"bugs":{"url":"https://github.com/TroyGoode/node-shuffle/issues"},"main":"./lib/index.js","directories":{"lib":"./lib"},"engines":{"node":">=0.4.0"},"dependencies":{},"devDependencies":{"mocha":"latest","should":"latest"},"scripts":{"test":"mocha","start":"node example/blackjack.js"},"gitHead":"d6b7a3d3b1dd2d23462a3ff05e6a779cd9d0590d","_id":"shuffle@0.2.3","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-PF+gfRsvgdY9UBMp+/20PWVoxVAS/0WoRn7rGIPYMWHfz0ez5OxdgLCSSq9MUrLe+zUe0z3FYp0+YUv4qVOT/A==","shasum":"5078b74fa7dbdde4b40c05a17d5c27495448a95b","tarball":"https://registry.npmjs.org/shuffle/-/shuffle-0.2.3.tgz","fileCount":10,"unpackedSize":13519,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfuFpVCRA9TVsSAnZWagAArAEP/ijFdZqM91v1CYfcUXE2\nPyOmTU/uXpZghho3K46+5QZqH0C3bf3amDjboEeH8Dlel5JU+rHlqXmubPgG\n653nlKepE2W56gX/lkIkAUZ3HkHCoVGmY0Tj8HnXcxCEPM5E5VXsMAijq313\nhFjcOIv2gzUkU+XC0yhEVE/yNnUwhejjbsMMtW3W6LCWNlKls0DvD8MJ4Wod\nSen4DT/K7udiSqOUMTtHtGFW0mKU0kR1QpfeNjmHR7zB38O1hIWqhRoGkWA4\nTUCft0K7p1Z3hgHTFCdkdWqTIZ7OuTfcVtEyV29vHNCRa80MUwQ06pvwP/9k\nUB8K/D9TSTXvNs4kHtUscp1Yg0NmiOp6vD68FkK6l2eojEjsikRClKp07eeV\nhnJQ1eMIbLeI4WcR3Sn59pkuYM5IA0Muo5jkD2G2lb6m/CZaEkCQy7gXNwPN\n3nNrtY8Z8Z8eehPPP5Gsh72nHqwWYASrx64NnCdqknMtau2P/DMEzYUGeHkM\nlM/NF6P6aqilLcxgLSH8RlvBQtvvGmQl0BQU69qYFFOOR0LAQlVPbu2yfcI8\nproFeVfilogFmkRibtkQ0eujQJKOGB4sBK5glfygHlJP9L/w7X+j/p5iLkJQ\nyVUsVwxG/U2lieuo/oBRyU+/Vp5XqMHw5ovkKAjRdW8uNT3n8ioz740mV2YO\nbL5L\r\n=A4sD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBmx/kCjpjMpPexOijy5cjY91xmXxc2sqIUnQkv2gim6AiEAoUWa2W+1zXaSOY+zNktZXaOMTcxrlOS2cOA95UKdM/Y="}]},"_npmUser":{"name":"troygoode","email":"troygoode@gmail.com"},"maintainers":[{"name":"troygoode","email":"troygoode@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/shuffle_0.2.3_1605917268664_0.5155798614806841"},"_hasShrinkwrap":false},"0.2.4":{"author":{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"},"name":"shuffle","version":"0.2.4","description":"node.js package for shuffling and dealing decks of cards (or anything else you'd like to shuffle)","keywords":["shuffle","random","cards","games"],"homepage":"https://github.com/troygoode/node-shuffle/","repository":{"type":"git","url":"git://github.com/troygoode/node-shuffle.git"},"contributors":[{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"}],"license":"MIT","bugs":{"url":"https://github.com/TroyGoode/node-shuffle/issues"},"main":"./src/index.js","directories":{"lib":"./src"},"engines":{"node":">=0.4.0"},"dependencies":{},"devDependencies":{"mocha":"^3","should":"^9"},"scripts":{"test":"mocha","start":"node example/blackjack.js"},"gitHead":"649d399e360d1218850ac04f71366973fa65f599","_id":"shuffle@0.2.4","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-HYwy4pXiJH4PUVzu5HBAJTqYPyegFFbDFhuh3lhAC3CPcKp1VORJap3fWyRmUpCLZKyaXFCWvg9OKO4y+DZo4A==","shasum":"b1bbc920351e3675f85460e715e1b1223e49a570","tarball":"https://registry.npmjs.org/shuffle/-/shuffle-0.2.4.tgz","fileCount":8,"unpackedSize":10872,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfuFySCRA9TVsSAnZWagAA+tcP/j6jnXo2W87NI2TeSLLw\nePt4+A3tLUyZaRv7o1on58UnSofDhXWXZmghQiY3Xopl0Fd4PHudB6mWUgTT\nHofyq+WygpzLb6pIjUu4cDVktTKcMAeRUJZ5VABI6/ey/jNnYa+RovCywV6y\nFOL7zA/b1diJUuCiO+WibM7YNNVqOfCLUtOnvZ7JLEBTxf6YXUYd/R+fh7bX\naOPoP/n3sMrB/wblNPIXd35cY8TaoVrKE1QvIBWNlPWcymnWFtz1EdMf2Sgn\n9s64J8lElPRvyZEPDy/e1Zx5aMRdYWCCdQNkWNR5NTqKGP42PwIW5NnSk4Pn\nMYo4BufoNrIkjq5ts164zfniMTykPVcGdqjtzLc5dIrxKWK1cMFWuUrVTFdc\nnAORjd8mi9TVL2hU3XRn0CGAglBatbeB96IG5V+DJXfwFOjTobPFD27chlvQ\n51wVAj3nI2vHKqZmpJ4K7cV+CRvc32UpFL42grkZoD3eVtTyDbLB5pT6VgHr\nAxQ0TalyN6RfJa+OvbK3LdMSJoy7IzPItCZiZNTOda/og2TYfmP/BxYvQpKv\ntqL5CChEDLgM7nl9yP/+gXLFom/JfTITrm5jiR/lD5rukyS9dkoV5Ia1b5Ph\nEw7ADtpYFZ5GH7aiqnlrnX3yp8FAll+PWH+be5slodc5ePaDXtdFDNWO07oG\nqYWV\r\n=ApHf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGCxjKdzKoxjCmjFjSrT9TjnISfJhSDw2/w47Oxm3gSaAiARA9zSggby8anye7Ad73eM5qq6tCE8c16JMlHIOLlnYg=="}]},"_npmUser":{"name":"troygoode","email":"troygoode@gmail.com"},"maintainers":[{"name":"troygoode","email":"troygoode@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/shuffle_0.2.4_1605917841801_0.33072441393394003"},"_hasShrinkwrap":false},"0.2.5":{"author":{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"},"name":"shuffle","version":"0.2.5","description":"node.js package for shuffling and dealing decks of cards (or anything else you'd like to shuffle)","keywords":["shuffle","random","cards","games"],"homepage":"https://github.com/troygoode/node-shuffle/","repository":{"type":"git","url":"git://github.com/troygoode/node-shuffle.git"},"contributors":[{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"}],"license":"MIT","bugs":{"url":"https://github.com/TroyGoode/node-shuffle/issues"},"main":"./src/index.js","directories":{"lib":"./src"},"engines":{"node":">=0.4.0"},"dependencies":{},"devDependencies":{"mocha":"^8.2.1","should":"^13.2.3"},"scripts":{"test":"mocha","start":"node example/blackjack.js"},"gitHead":"3a5c5464e108fabe9e3e4468919c4a504ff58680","_id":"shuffle@0.2.5","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-h6le7BFuLlBRfQR6TWssTUB8ue/O3MY99Agcwwu7KM5b0m/edY9LNupPehl2nVWf78oD01EOv4RcXGtDFdEkew==","shasum":"e71b553b4e4313669de024b1cf89c93896a50632","tarball":"https://registry.npmjs.org/shuffle/-/shuffle-0.2.5.tgz","fileCount":8,"unpackedSize":10881,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfuF3zCRA9TVsSAnZWagAA+MEP/10AIyq7hC+zCGmjGDFf\npCKrKiNe/ZD26LL1JuxrLDzW2wZulwDxC4anm9JablZot/H2BDiCY6NdU1e7\nkaBLgXhBJILkJ8ajJYtSViBoy0NOYofunV00MU8KN0WzzE6Jn+MjwbQnxZtY\nM7P803PZHG82WWsMNIVUJLrHbbZ3Fo2JLZ83WSG9g8FFB0rMbm8z9D2xjvdQ\n/LxfgmM2omUXPBsHaBGBJ9l4QFsJxTMYuidGR44vaEcMe1aF+aRskrDtluiT\nJMflMsmVmDrh0Y2s/P9pb8x2qjGuMKTTIdnWrIDQyxxWFj33zCYpI4ONwXhx\n7ji6UHNzm2r/zK/2b8u+55zGuIYjMTyic3NFmTQ3K/ZnXJ+RLo0Xj35Vb/rY\nWFX0VtlCQXlLMVy96/iWOdp+8ciy+L8CnY+WgTlOD5p0uZXmDdgP4ZmPzBIx\ng6dIzgpSuRyFsOm7TvNj2+kXD21CSSYwpiRPBOp8hjHgRf7o9gMIJGUvaItB\n3IYgoyIdbCn9D6h7qP30Uc1Sek+J3SS1afIgAnOAR2mqPyBbguHxSkTW1Oai\nbcOZv7b2zDPIsyn2C3STRidNLGomUNKmLeyyx7EJblZKd3ezRh3/5nGsel4F\nW6k7HleQoeqqsBzL+UXSyocvQFv1PFAXsniRWQNttwchlWb0Rwd6V7O0vq7t\nVNuS\r\n=K/Ap\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICtQPymVX6mEm4w6aeAb7WcwnFeSB3r2iiEcifAgWYrYAiEAkN90jYPx2PQGOfy5/2S74AIxc5WUz0rKu/B9KwqkTlQ="}]},"_npmUser":{"name":"troygoode","email":"troygoode@gmail.com"},"maintainers":[{"name":"troygoode","email":"troygoode@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/shuffle_0.2.5_1605918194760_0.6210753081751126"},"_hasShrinkwrap":false}},"maintainers":[{"name":"troygoode","email":"troygoode@gmail.com"}],"time":{"modified":"2022-06-26T19:11:49.654Z","created":"2011-05-06T18:45:23.682Z","0.1.0":"2011-05-06T18:45:23.774Z","0.1.1":"2011-11-27T16:15:02.066Z","0.1.2":"2012-02-03T02:52:05.920Z","0.2.0":"2012-12-28T14:30:59.333Z","0.2.1":"2013-06-27T00:56:58.819Z","0.2.2":"2014-11-10T06:19:43.637Z","0.2.3":"2020-11-21T00:07:48.793Z","0.2.4":"2020-11-21T00:17:21.939Z","0.2.5":"2020-11-21T00:23:14.902Z"},"author":{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"},"repository":{"type":"git","url":"git://github.com/troygoode/node-shuffle.git"},"users":{"troygoode":true,"idometeor":true,"rohanc":true},"readme":"# shuffle\n\nShuffle is a node.js package for shuffling and dealing decks of cards (or anything else you'd like to shuffle).\n\n[![NPM](https://nodei.co/npm/shuffle.png?downloads=true&stars=true)](https://nodei.co/npm/shuffle/)\n\n[![build status](https://secure.travis-ci.org/troygoode/node-shuffle.png)](http://travis-ci.org/troygoode/node-shuffle)\n\n## Installation (via [npm](https://npmjs.org/package/shuffle))\n\n```bash\n$ npm install shuffle\n```\n\n## Quick Start\n\nUsing shuffle is simple:\n\n```javascript\nvar Shuffle = require('shuffle');\nvar deck = Shuffle.shuffle();\nvar card = deck.draw();\n```\n\nAlternatively you can draw multiple cards at once:\n\n```javascript\nvar hand = deck.draw(5);\n```\n\nYou can also use it to deal cards to multiple hands:\n\n```javascript\nvar player1 = [], player2 = [], player3 = [], player4 = [];\ndeck.deal(5, [player1, player2, player3, player4]);\n```\n\nThe above deals a card to player #1 then player #2 then player #3 then player #4 then back again to player #1 until each player has five cards.\n\nIf you need to reset and reshuffle the deck, it is as easy as:\n\n```javascript\ndeck.reset(); //sets the deck back to a full 52-card deck, unshuffled\ndeck.shuffle();\n```\n\n## More Stuff\n\nYou don't have to shuffle standard playing cards. You can shuffle other stuff too:\n\n```javascript\nvar Shuffle = require('shuffle');\nvar goFish = [{color: 'red', number: 1}, {color: 'blue', number: 2}, ...];\nvar deck = Shuffle.shuffle({deck: goFish});\n```\n\nYou can also supply your own randomizer so that you can supply a custom seed:\n\n```javascript\nvar Shuffle = require('shuffle');\nvar srand = require('srand'); //https://github.com/isaacs/node-srand (npm install srand)\nsrand.seed(1000);\nvar deck = Shuffle.shuffle({random: function(){ return srand.random(); }});\n```\n\nYou can also supply number of decks to play with:\n\n```javascript\nvar Shuffle = require('shuffle');\nvar deck = Shuffle.shuffle({numberOfDecks: 8});\n```\n\nOther deck methods:\n\n```javascript\ndeck.drawFromBottomOfDeck() // 1 card\ndeck.drawFromBottomOfDeck(5) // array of 5 cards\n\ndeck.drawRandom() // 1 card\ndeck.drawRandom(5) // array of 5 cards\n\ndeck.putOnTopOfDeck(card)\ndeck.putOnTopOfDeck([card, card, card])\n\ndeck.putOnBottomOfDeck(card)\ndeck.putOnBottomOfDeck([card, card, card])\n\ndeck.length // integer (# of cards left in deck)\n```\n\n## License\n\n[MIT License](http://www.opensource.org/licenses/mit-license.php)\n\n## Author\n\n[Troy Goode](https://github.com/TroyGoode) ([troygoode@gmail.com](mailto:troygoode@gmail.com))\n","homepage":"https://github.com/troygoode/node-shuffle/","keywords":["shuffle","random","cards","games"],"contributors":[{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"}],"bugs":{"url":"https://github.com/TroyGoode/node-shuffle/issues"},"readmeFilename":"README.md","license":"MIT"}