{"_id":"@artie-owlet/intransitive-dice","_rev":"5-7c4a488e8fc75118f36e2bd037cad7b1","name":"@artie-owlet/intransitive-dice","dist-tags":{"latest":"1.2.2"},"versions":{"1.0.0":{"name":"@artie-owlet/intransitive-dice","version":"1.0.0","description":"Tool for generating intransitive dice","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","clean":"rm -rf dist/","lint":"eslint --cache --ext .js,.jsx,.ts,.tsx src/ test/","test":"mocha -r ts-node/register/transpile-only test/*.ts","coverage":"nyc npm run test"},"license":"MIT","devDependencies":{"@istanbuljs/nyc-config-typescript":"^1.0.1","@types/chai":"^4.2.21","@types/mocha":"^8.2.3","@types/node":"^14.17.5","@typescript-eslint/eslint-plugin":"^4.28.2","@typescript-eslint/parser":"^4.28.2","chai":"^4.3.4","eslint":"^7.30.0","mocha":"^9.0.2","nyc":"^15.1.0","source-map-support":"^0.5.20","ts-node":"^10.1.0","typescript":"^4.3.5"},"repository":{"type":"git","url":"git+https://github.com/artie-owlet/intransitive-dice.git"},"keywords":["intransitive dice","nontransitive dice"],"gitHead":"7cc375290227bf13115c0afdb53db51daff9622d","bugs":{"url":"https://github.com/artie-owlet/intransitive-dice/issues"},"homepage":"https://github.com/artie-owlet/intransitive-dice#readme","_id":"@artie-owlet/intransitive-dice@1.0.0","_nodeVersion":"14.17.0","_npmVersion":"7.19.1","dist":{"integrity":"sha512-AZYNJ0HuxVhzzvD7SXEUqL5JLz9m2aTbUeclJTVlADwx4rM9/Ys+3tt/rR59sS2k9on7HvYnFutI7WyDIVcEQA==","shasum":"61185760a17bb7e118dbb25a93544f4ad14aee42","tarball":"https://registry.npmjs.org/@artie-owlet/intransitive-dice/-/intransitive-dice-1.0.0.tgz","fileCount":18,"unpackedSize":16803,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCEa1A1W6pdRDxdrNQxXWcKKhRCOZEe+9Z79+8semLPJAIhAKRYapayM26VTpHe/h4oqWM6ZjXGigHrwNw2wRkLlQ6/"}]},"_npmUser":{"name":"artie-owlet","email":"artie-owlet@protonmail.com"},"directories":{},"maintainers":[{"name":"artie-owlet","email":"artie-owlet@protonmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/intransitive-dice_1.0.0_1633028998359_0.46190743375720134"},"_hasShrinkwrap":false},"1.0.1":{"name":"@artie-owlet/intransitive-dice","version":"1.0.1","description":"Tool for generating intransitive dice","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","clean":"rm -rf dist/","lint":"eslint --cache --ext .js,.jsx,.ts,.tsx src/ test/","test":"mocha -r ts-node/register/transpile-only test/*.ts","coverage":"nyc npm run test"},"license":"MIT","devDependencies":{"@istanbuljs/nyc-config-typescript":"^1.0.1","@types/chai":"^4.2.21","@types/mocha":"^8.2.3","@types/node":"^14.17.5","@typescript-eslint/eslint-plugin":"^4.28.2","@typescript-eslint/parser":"^4.28.2","chai":"^4.3.4","eslint":"^7.30.0","mocha":"^9.0.2","nyc":"^15.1.0","source-map-support":"^0.5.20","ts-node":"^10.1.0","typescript":"^4.3.5"},"repository":{"type":"git","url":"git+https://github.com/artie-owlet/intransitive-dice.git"},"keywords":["intransitive dice","nontransitive dice"],"gitHead":"e8c1d5653b55871dae872fe1516465e0ab762463","bugs":{"url":"https://github.com/artie-owlet/intransitive-dice/issues"},"homepage":"https://github.com/artie-owlet/intransitive-dice#readme","_id":"@artie-owlet/intransitive-dice@1.0.1","_nodeVersion":"14.18.1","_npmVersion":"6.14.15","dist":{"integrity":"sha512-UgodA07OZe2/0p9I2PtZoyMx7jS/M435Qrc3aBOJWqBZn34P91e3Oi1TH8PDmrjKI+1tPDIFrV/pVwkNPP++2Q==","shasum":"1f9aea7750875c1dc2d142653b611bd64b7ee6bd","tarball":"https://registry.npmjs.org/@artie-owlet/intransitive-dice/-/intransitive-dice-1.0.1.tgz","fileCount":18,"unpackedSize":16684,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhm6qTCRA9TVsSAnZWagAABeAQAJFatduG7qh0cP3bLpj5\n6cjh0tv3ZyUDLFBYrPtGOnUdl3gzXZj2iAYNbRqHlvyZqOWu/mgG2t6vqWiL\nIll/ref+9E0x2khUlBZljgGUqjzu9S/5OKQwbm/U+JPbHPl3wSFUIqZmK2w3\nbyIb18m9h+5DyL2ZLrbZEaKdG5grsAcpHXmMCrTiC6cNkArmhZKJ0aJWB09t\nssRf+NelCv4E5eP6+alcQbMMJ0UuqPNwe9zZJRbNjq0zzTzlJFsM5u0ZNuqW\n3Iv/yQuZcxJWHgntqTKV3BYNnobUy2FGsh5xCwvgxQBTmlj4jLfC//RtuTCp\n/vbKLH92I97nePk4zmBH60XyelDX40mqWbxTBnFndgzPaU929KOd+2nWuVZd\n0BLCGYWlUbC/pHSnEuUr9yms3ns0PlRwwyMDIZqvKjH30w7TXDWDtjz5CSaQ\nmxRIEArobSyxbkfVzI3PvYvstvM2XDVI5t2gcBiYafzvOjFCb36I/gDvYNIb\nxT9LkapZiPc7PKmn/xCBK3foMyPNklgm+3EyOZ50cEhxt74pMcEGs8b+e3KH\nSCqJxN5gSrF3cAcOPtRm6P+nEardsO9d/Ag2aAmbw5jdlJZaGBeHKdapWqEv\n9wRL2O18+r/evXPglV0x+PE6L5JpTbTOJXbmXTpLQ8RcXEL8c+TJgzQFHMuO\nQHyT\r\n=hdV+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIALTqkpv/iy6Aw8XjFeeoHTE8m2uTGKZypUO0XomzKlDAiEAlj7ZZmr27oXGPhTis+Xq9NAogZgJKdKSKb5pTEgSUFE="}]},"_npmUser":{"name":"artie-owlet","email":"artie-owlet@protonmail.com"},"directories":{},"maintainers":[{"name":"artie-owlet","email":"artie-owlet@protonmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/intransitive-dice_1.0.1_1637591699529_0.3632108122085813"},"_hasShrinkwrap":false},"1.1.0":{"name":"@artie-owlet/intransitive-dice","version":"1.1.0","description":"Tool for generating intransitive dice","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","clean":"rm -rf dist/","lint":"eslint --cache --ext .js,.jsx,.ts,.tsx src/ test/","test":"mocha -r ts-node/register/transpile-only test/*.ts","coverage":"nyc npm run test"},"license":"MIT","devDependencies":{"@istanbuljs/nyc-config-typescript":"^1.0.1","@types/chai":"^4.2.21","@types/mocha":"^8.2.3","@types/node":"^14.17.5","@typescript-eslint/eslint-plugin":"^4.28.2","@typescript-eslint/parser":"^4.28.2","chai":"^4.3.4","eslint":"^7.30.0","mocha":"^9.0.2","nyc":"^15.1.0","source-map-support":"^0.5.20","ts-node":"^10.1.0","typescript":"^4.3.5"},"repository":{"type":"git","url":"git+https://github.com/artie-owlet/intransitive-dice.git"},"keywords":["intransitive dice","nontransitive dice"],"gitHead":"c15b11e346a164708f749dcb734a14ac2a1d79c2","bugs":{"url":"https://github.com/artie-owlet/intransitive-dice/issues"},"homepage":"https://github.com/artie-owlet/intransitive-dice#readme","_id":"@artie-owlet/intransitive-dice@1.1.0","_nodeVersion":"14.18.2","_npmVersion":"6.14.15","dist":{"integrity":"sha512-wuXpJZsaDAvAehrpPuhXVn5R7aUUn7RbayzzUpwXIKNAEABQQHVnEhE5aBv4mhkFQMJcZb9TFWTEIFI4ywsKfg==","shasum":"a81f676d1e73d78e72daafe55ce7d43ba91b3f2a","tarball":"https://registry.npmjs.org/@artie-owlet/intransitive-dice/-/intransitive-dice-1.1.0.tgz","fileCount":18,"unpackedSize":16578,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh1RdECRA9TVsSAnZWagAAUHMQAJI6SxiHFh0eHTu+SrSl\nVgKbgz67IYFZDY7ZDBXwHM3+Yn2hGQe+42oofonwOe8VP/sER3fCrRo890IZ\noHaLvixhfvDEwaCvj9HcBQKXZ5ImYD/wnJ4HQ81dqspIQ1d3G2xPVb1fyCAT\nqjkX56Y7mBxllm6gXSE8gD5fqlMkEsCH4NSAP4wZv3jHTcbIrEMk0boM0OwI\nUTd9oS1xPnifTAFpBTNPlULQYKXf6k7p5kNBpJyQ2DiOT+36cE5RzJ6sBO1V\nQDuTuWgykRnSJOuk7OF4uB6k2keIj9D4qT/vvSvVr48JHjqIuwC+EXXJQt/G\nxCaG0EvlFEtI8h+OwOQ1+2nekv8KAh8U6w55HS3pshOb0K/B42r5AR+8+ae2\nSMaIUBvDMEw5Fu8/pSLVBv++s6ec9RkDmdYKn2tRupKotkbtd/jIm29q6PlU\nVn2+pNrOYuBUnVPL7BvEd+l3uSQZKWTgkUCuwTru0FsyhYYatYeP0xzXh1HZ\nzUvhq5nLiH9URzCzPWrkft4OOjSBqEFmVqPOTKQYXuI0X4nkwM5kbgLuqYK+\nMP7yn5B0tJx3lP+1ukYMZ5VyrYaaeDOTjCCYLkhrgs5BxCiFEP8OAkc5JWXf\nxaj3oj+FxPTP788JYLiO1X6xyw8gsGomhp25aUefNs+D4c+SVizlZgGtQBXe\n/m9+\r\n=6EnX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC41QkWmPLqDPWGJQsvSIYXgNhwd+24wLO7I0/l/sfmOAIgU2pw8o5vMUPmjDVe8BUuxdU1r0jbhGes0MCb311LTho="}]},"_npmUser":{"name":"artie-owlet","email":"artie-owlet@protonmail.com"},"directories":{},"maintainers":[{"name":"artie-owlet","email":"artie-owlet@protonmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/intransitive-dice_1.1.0_1641355076223_0.3768963946402746"},"_hasShrinkwrap":false},"1.2.1":{"name":"@artie-owlet/intransitive-dice","version":"1.2.1","description":"Tool for generating intransitive dice","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","clean":"rm -rf dist/","lint":"eslint --cache --ext .js,.jsx,.ts,.tsx src/ test/","test":"mocha -r ts-node/register/transpile-only test/*.ts","coverage":"nyc npm run test"},"license":"MIT","devDependencies":{"@istanbuljs/nyc-config-typescript":"^1.0.1","@types/chai":"^4.2.21","@types/mocha":"^8.2.3","@types/node":"^14.17.5","@typescript-eslint/eslint-plugin":"^4.28.2","@typescript-eslint/parser":"^4.28.2","chai":"^4.3.4","eslint":"^7.30.0","mocha":"^9.0.2","nyc":"^15.1.0","source-map-support":"^0.5.20","ts-node":"^10.1.0","typescript":"^4.3.5"},"repository":{"type":"git","url":"git+https://github.com/artie-owlet/intransitive-dice.git"},"keywords":["intransitive dice","nontransitive dice"],"gitHead":"a36b65e2b29db39c9b6f0e1746075c42026bba92","bugs":{"url":"https://github.com/artie-owlet/intransitive-dice/issues"},"homepage":"https://github.com/artie-owlet/intransitive-dice#readme","_id":"@artie-owlet/intransitive-dice@1.2.1","_nodeVersion":"14.18.2","_npmVersion":"6.14.15","dist":{"integrity":"sha512-YJJW8BrGEgw3s3cKGxC+hFBooW1OWB52q8jnJee37LET0Gficda3WyZHUB3vTlymIVlcJU3m7QPer1x1bK3OkA==","shasum":"4cb81785a1e0fbb22a3ed14a3b2cefdc2889c0bf","tarball":"https://registry.npmjs.org/@artie-owlet/intransitive-dice/-/intransitive-dice-1.2.1.tgz","fileCount":18,"unpackedSize":17824,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh1m0ICRA9TVsSAnZWagAArd0P/1oAdNOlnBqz0mY5h9Mb\nAVI1zH9AnkDHBpGAxiNcNvrLY3HcBb6GUYA0RTl0lFtYsmSGpl/36HHqlYKg\nvppJjudp8LOli9wNG3pPPv6SkIdW3QVMQnVHxxl0LA4VQ7bGRJS3+cyO5UUJ\nCjaq+cUr4U0QNntSTDtLxj7RIZ1N8/hf+kK9mTQTQ0Iyzs2sd2iXPMh8IGpV\n949gACpleKATMZPJvunWUo3OV47fy5UZDMgh3mbLqnopu74aQoViAZZXe750\ndiI4XtHrzBIdvMu/z8328yuijabLKYBFV5EyRvFSwlbx4SsQZP9K9N/BV5Uz\nh5HVw4bFxOQMvxCZzIVCtS9W+9H/+aYDCEDQaL7vIaNHeUn1Nmlh/p7mAS2I\naS5ZwWVfJxp89hTYPZw8M0x/g4FW53YKuIps3MLl9Dw+mMIAG290FNPlZqOn\ndbpOoAzh6jTAjVJHnznoyUNyHocaS3yvONICHCtCBaS3WwS29A9qiFzh0Xgz\nDy/G5oBFtKyKfY59onYSsgA1FLG2UPt7v2fRwz/3NpodAJx3t9R3zP+V7IwC\n1UBWKRQHRqnGy5XNJYdEbeLlwWtmqgQVisBUEuo65zpjAp5LzctC/FpYVzEx\nHPDPnCnhFX+JA+R1Vt2faer03tibRG7qx+/Y5ZX3pIuS/uEz6dPIZJaOZiRX\nb07P\r\n=IPo9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICsqPm8aAwoLgeT7SPjJfTQ/TnMgWY2ZKh1rdi84QwdgAiEA405MB32BkTauCWTvO+DpQ6jn26d/gV690YtfoXccZ+o="}]},"_npmUser":{"name":"artie-owlet","email":"artie-owlet@protonmail.com"},"directories":{},"maintainers":[{"name":"artie-owlet","email":"artie-owlet@protonmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/intransitive-dice_1.2.1_1641442568803_0.4929132188273382"},"_hasShrinkwrap":false},"1.2.2":{"name":"@artie-owlet/intransitive-dice","version":"1.2.2","description":"Tool for generating intransitive dice","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","clean":"rm -rf dist/","lint":"eslint --cache --ext .js,.jsx,.ts,.tsx src/ test/","test":"mocha -r ts-node/register/transpile-only test/*.ts","coverage":"nyc npm run test"},"license":"MIT","devDependencies":{"@istanbuljs/nyc-config-typescript":"^1.0.2","@types/chai":"^4.3.4","@types/mocha":"^10.0.1","@types/node":"^18.11.11","@typescript-eslint/eslint-plugin":"^5.45.1","@typescript-eslint/parser":"^5.45.1","chai":"^4.3.7","eslint":"^8.29.0","mocha":"^10.1.0","nyc":"^15.1.0","source-map-support":"^0.5.21","ts-node":"^10.9.1","typescript":"^4.9.3"},"repository":{"type":"git","url":"git+https://github.com/artie-owlet/intransitive-dice.git"},"keywords":["intransitive dice","nontransitive dice"],"gitHead":"d239feaf50168c075992f5b09864340951e5b177","bugs":{"url":"https://github.com/artie-owlet/intransitive-dice/issues"},"homepage":"https://github.com/artie-owlet/intransitive-dice#readme","_id":"@artie-owlet/intransitive-dice@1.2.2","_nodeVersion":"18.12.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-02L1uFqg/QRxAAHAsVmy3ZdEYjGH94UNjcV5YMLvDR9+7Z78oylu/v9fM7+MczFL61hA87zDPKsKgW+BJS78vg==","shasum":"3d1e91f66490d189a179e3a10170fd92c6ae7522","tarball":"https://registry.npmjs.org/@artie-owlet/intransitive-dice/-/intransitive-dice-1.2.2.tgz","fileCount":18,"unpackedSize":17968,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHshHRM7LMWxJglrc7xjdo0bVZYe1zKj5OtXocx+ZNP1AiBzDB4SUGJ9ecAQLM6aKICowSk4LZMApmTJFcEDSUfAzQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjj3xoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrDjA/9EfNfXGcDiJ/h20UVor7U2DpbGyc2mXuewtYlCryjAREkWikm\r\nkdMY7EF3epOkzbKl7FVqACk6f7SNSh97ws6HTdoLHm6N3A01NC+9X2WR6wsK\r\n3wz826sD/9xAArLGVON1S5kvlJTBIa/JoZADLTgCNskHHgorDRpC5tIC6k5Z\r\n+purnQr2kmBVgnY1A3lLMSjD9ku0jw2v/nhdGsRsH1ZaBSyLZZMMo3jvkbi/\r\nBxExHVHdPl0QvhF0kSy7j4d+Yv7zbhfmLl0i2zc3rEBvXQA4Y5f5JyH3tVrF\r\nU8dmd9xB5rPKCid/tIrqcE4aNByLHWPw52uefjrFTHyecX5dQFwvoTt7bVox\r\n1OjzZo0Mb3fhI1TCbYAnXdjC7uNA/EuYhPwg4flatISxAFglh6/SqU2FuGvK\r\n0jFAr11j7vjy8l1mIY1Uxu3XAAt1rXqmc5Nal/sENOtQJ1UlGmO03R5JwF4i\r\nb3/tK0mFED11lm2pxiCFB7zl1goRBGR14i/dWE4zsmO9Dnf5jTxNn9U4Z9qW\r\n4xRRao0exXynXGjiJqSEu5wFl8pst73YbTF/2qR6ltxmMtlawIT2dlVL2ZuF\r\ncLyusr4Uq305o7N3jP+kEpwUGhwCcpAFnbvM5olE3wOSbFtaJky1+YUxSlSQ\r\nTYPuU13pszdN5QKOlBbnAIMDEP2va+FCCvM=\r\n=MW0Q\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"artie-owlet","email":"artie-owlet@protonmail.com"},"directories":{},"maintainers":[{"name":"artie-owlet","email":"artie-owlet@protonmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/intransitive-dice_1.2.2_1670347880630_0.8277474494069896"},"_hasShrinkwrap":false}},"time":{"created":"2021-09-30T19:09:58.313Z","1.0.0":"2021-09-30T19:09:58.471Z","modified":"2022-12-06T17:31:20.918Z","1.0.1":"2021-11-22T14:34:59.680Z","1.1.0":"2022-01-05T03:57:56.346Z","1.2.1":"2022-01-06T04:16:08.998Z","1.2.2":"2022-12-06T17:31:20.814Z"},"maintainers":[{"name":"artie-owlet","email":"artie-owlet@protonmail.com"}],"description":"Tool for generating intransitive dice","homepage":"https://github.com/artie-owlet/intransitive-dice#readme","keywords":["intransitive dice","nontransitive dice"],"repository":{"type":"git","url":"git+https://github.com/artie-owlet/intransitive-dice.git"},"bugs":{"url":"https://github.com/artie-owlet/intransitive-dice/issues"},"license":"MIT","readme":"# intransitive-dice\n![CI](https://github.com/artie-owlet/intransitive-dice/actions/workflows/ci.yaml/badge.svg)\n![Coverage](https://github.com/artie-owlet/intransitive-dice/actions/workflows/coverage.yaml/badge.svg)\n![Lint](https://github.com/artie-owlet/intransitive-dice/actions/workflows/lint.yaml/badge.svg)\n\nTool for generating [intransitive dice](https://en.wikipedia.org/wiki/Intransitive_dice).\n\n---\n\n## Install\n\n```bash\nnpm install @artie-owlet/intransitive-dice\n```\n\n## Usage\n\n```ts\nimport { generate } from '@artie-owlet/intransitive-dice';\n\nconst itd = generate(4, 6, 24);\nconsole.log(itd);\n/* will output:\n[\n  [ 10, 11, 12, 13, 14, 15 ],\n  [ 1, 2, 16, 17, 18, 19 ],\n  [ 3, 4, 5, 20, 21, 22 ],\n  [ 6, 7, 8, 9, 23, 24 ]\n]\n*/\n```\n\n## API\n\n### generate(diceNum: number, sidesNum: number, win: number): number[][]\n\n* `diceNum` - number of dice;\n* `sidesNum` - number of faces of each die;\n* `win` - sets the probability of winning by the formula `p = win / (sidesNum ^ 2)`.\n","readmeFilename":"README.md"}