{"_id":"@chancejs/coin","_rev":"2-ed3d4ff8b2c95cb7ebf08ba5472c1162","name":"@chancejs/coin","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@chancejs/coin","version":"1.0.0","description":"Generate a random coin with Chance.js.","homepage":"https://chancejs.com/","author":{"name":"Victor Quinn","email":"mail@victorquinn.com"},"main":"./lib/cjs/index.js","module":"./lib/esm/index.js","scripts":{"clean":"rm -rf ./node_modules ./lib ./coverage","lint":"eslint","test":"jest","coverage":"yarn test --coverage","tsc":"tsc -p tsconfig.json && tsc -p tsconfig-cjs.json","prepublish":"yarn build","build":"yarn clean && yarn tsc","prepare":"yarn build"},"repository":{"type":"git","url":"git+https://github.com/chancejs/chancejs.git"},"license":"MIT","bugs":{"url":"https://github.com/chancejs/chancejs/issues"},"devDependencies":{"@types/jest":"^27.4.1","eslint":"^8.14.0","jest":"^27.5.1","ts-jest":"^27.1.4","ts-node":"^10.7.0","typescript":"^4.6.3"},"dependencies":{"@chancejs/bool":"workspace:^","@chancejs/generator":"1.0.0"},"types":"./lib/cjs/index.d.ts","gitHead":"06566eaa2bc1406f63f76a932eb8794c97788451","_id":"@chancejs/coin@1.0.0","_nodeVersion":"18.7.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-EzzQT70/8Qf8n9vbkFxKzXXT5LUYGG78D+oK7iVPcDP3EKqI2lWOAFpFTKxr5/tdPzYX2revN4ePvDgu2k3txA==","shasum":"cab4b79e5ddd60fddb1d2f2dbd00e3361892022d","tarball":"https://registry.npmjs.org/@chancejs/coin/-/coin-1.0.0.tgz","fileCount":17,"unpackedSize":5699,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFG2i+HbhEF4BubibSoWcCOt0dq+fQ0OnzpQhWWc8YiZAiAhpWMZWXAXal9mA7wE7ewlZtg3r/b2i6SG19cxvHbbag=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj690tACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpZJg//aJ/YFtobIrHmbiiM11u5DhxyRjlcyfdsY1v+1BaoQxFJ5qW5\r\nxTZZySITaR5EgWu/IZdSdU81uym1liufaZmrBfpf5kXuqFJkOQ0MxkopvCcJ\r\nupLgKfJmEUzeZRRFigSxlqiHRAjg64ByhHsystMbOgHCnyHnBgjrbYiHcKy2\r\nzIRV3CkMgog+ASc9lWyTrRzhVuDLKy84uwuuukHsDbdLSMjr4ExKZq5yiEes\r\nMGR1//IK6JcuXzqab8EbD+SxSqBRcgC06kEo7Olnxt0qziRjUOrCdFDdTyfk\r\nh9FxFdjXnFy68wkm1QL5xbhYgkVlC0eMdlVSkR3uky7P1F3kc5PdB12IYga9\r\nuR8EHyBcKuSy9Sh8oRoC095ltcOJ8aaKXEMu4E75Yhx7pwrP2K04LoHNo2cx\r\nZo9mvIB4XyuGCa4Bjlv/dvIzXadb8cAgqRuTJiXovj75/Ft0/Fm1GpS6Qk+D\r\nxB9yoZSbKv6DcmUcuz0QxRpOw5MXezCJrbdEUVhfhYpoYPo7tbLoTZ9fVuU6\r\n/l77zc3HR5tGblejsSqRmiP96/PLl7YFC5INGkuY4qIa6D2U3dxfs2MK+Z8B\r\nOPjk6Omna+rk1N8mkgXyD1QW29wv2I+D+smRJzfGcEMo5VcdjkUSaiB0GXvZ\r\nG04DB2ZOyew+GrvJkQo405TZ2UjH9x4+eNc=\r\n=TfwE\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"victorquinn","email":"mail@victorquinn.com"},"directories":{},"maintainers":[{"name":"victorquinn","email":"mail@victorquinn.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/coin_1.0.0_1676401965742_0.3886323845679496"},"_hasShrinkwrap":false},"1.0.1":{"name":"@chancejs/coin","version":"1.0.1","description":"Generate a random coin with Chance.js.","homepage":"https://chancejs.com/","author":{"name":"Victor Quinn","email":"mail@victorquinn.com"},"main":"./lib/cjs/index.js","module":"./lib/esm/index.js","scripts":{"clean":"rm -rf ./node_modules ./lib ./coverage","lint":"eslint","test":"jest","coverage":"yarn test --coverage","tsc":"tsc -p tsconfig.json && tsc -p tsconfig-cjs.json","prepublish":"yarn build","build":"yarn clean && yarn tsc","prepare":"yarn build"},"repository":{"type":"git","url":"git+https://github.com/chancejs/chancejs.git"},"license":"MIT","bugs":{"url":"https://github.com/chancejs/chancejs/issues"},"devDependencies":{"@types/jest":"^27.4.1","eslint":"^8.14.0","jest":"^27.5.1","ts-jest":"^27.1.4","ts-node":"^10.7.0","typescript":"^4.6.3"},"dependencies":{"@chancejs/bool":"1.0.0","@chancejs/generator":"1.0.0"},"types":"./lib/cjs/index.d.ts","gitHead":"06566eaa2bc1406f63f76a932eb8794c97788451","_id":"@chancejs/coin@1.0.1","_nodeVersion":"18.7.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-HHExD6MfB8Oy1TQzCMPG/xaGTY6Y0Cjgf5usxhq/kXwgzbllGmlpdNSR1dxKiw9NFaOn77451zZ7kIYPs8enTg==","shasum":"8e826b7b1694043c16426473d37daabb620e04fc","tarball":"https://registry.npmjs.org/@chancejs/coin/-/coin-1.0.1.tgz","fileCount":18,"unpackedSize":5817,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD6XCUF56lt1eD4bkmDRpJrG8rzdJHy3FXLmTNqgrID7gIhAMR4L9+Ga2DILru5PiYQdU/PCNvTkqatrnjLqJ4WX8kM"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj693iACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqd7xAAgF0bS7KYKXTr8llwNAf31wA53zTtKFalN9XO+qpEArYPhHBC\r\nrGqhPnhCLw/AkchdqTvzrY9e8AMwwjXn+GVFYayN4bo+2RJRYN5W44zmELBs\r\nPgaFfZheGm/wv6hfTAt5S7OP++IM55c1FLu1/jP9XC5vSGh8CMGBHRcNegf4\r\nOo64UW/A42jIP3fU11IQ5OeHFG+JzGcc9qXbMyy4NYAj5fZFoZAHTM1TgRVw\r\nWf/MJRCPOtfOvqwxhG7kTGUARW+XZcOCLQVn6gOyBNrb3LiQGaJ8pJi65C33\r\nbvr8FqDKO5gbJR0MnSvU/7DxiQOCZdyhqgFu64/9N1FLsA7jOROB2+6vxasL\r\nlnuNwT5k+tXjhNuWh4oLeyL2shBdCXjAb6Q6+B1YBgjPAd/cnVSTfZcShrw2\r\nPQvCg534aLFY3ubiM7CWWJqUiohSMN9xUdMmK7rlHXCkihAJv8bhlqq8DBqC\r\nsOuns/4ez0JZ4mPxl8PTmQMX9d76R+x6bUoSA8iGyDxkvuxpmb/2fI3N6ng6\r\nGS2xRkutdE7hkMd5EherUZWOZsu5UnSmvKNOgKU/rAiilNDx6FdTNmgg9+L0\r\nTJ5i0J6wLP/p5evOi5YZifxMIDyrNEwyEddoqGLHqK+W9m4NmWJk47Rc1tZ4\r\nPKPpXZkPzEBEgn24TseO/hjk9ekza+EfrCs=\r\n=G6MW\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"victorquinn","email":"mail@victorquinn.com"},"directories":{},"maintainers":[{"name":"victorquinn","email":"mail@victorquinn.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/coin_1.0.1_1676402146190_0.5624153008771322"},"_hasShrinkwrap":false},"1.0.2":{"name":"@chancejs/coin","version":"1.0.2","description":"Generate a random coin with Chance.js.","homepage":"https://chancejs.com/","author":{"name":"Victor Quinn","email":"mail@victorquinn.com"},"main":"./lib/cjs/index.js","module":"./lib/esm/index.js","scripts":{"clean":"rm -rf ./node_modules ./lib ./coverage","lint":"eslint","test":"jest","coverage":"yarn test --coverage","tsc":"tsc -p tsconfig.json && tsc -p tsconfig-cjs.json","prepublish":"yarn build","build":"yarn clean && yarn tsc","prepare":"yarn build"},"repository":{"type":"git","url":"git+https://github.com/chancejs/chancejs.git"},"license":"MIT","bugs":{"url":"https://github.com/chancejs/chancejs/issues"},"devDependencies":{"@types/jest":"^27.4.1","eslint":"^8.14.0","jest":"^27.5.1","ts-jest":"^27.1.4","ts-node":"^10.7.0","typescript":"^4.6.3"},"dependencies":{"@chancejs/bool":"1.0.0","@chancejs/generator":"1.0.0"},"types":"./lib/cjs/index.d.ts","gitHead":"06566eaa2bc1406f63f76a932eb8794c97788451","_id":"@chancejs/coin@1.0.2","_nodeVersion":"18.7.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-JCtcmllLwCA0LB85tJuD2s3ZcFaEtpl0DXJ9nSlrEvE1RBi8IgHBTwp+lnoPo0BtLqRPExfwIcis9gtw/KgS+A==","shasum":"6cf2affce1ba1916ef1107fa7a21372327d99183","tarball":"https://registry.npmjs.org/@chancejs/coin/-/coin-1.0.2.tgz","fileCount":18,"unpackedSize":6375,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICKPnE1kokyjwUhr10b0WiqJN7iOh2iPyXfDwBSZtTb1AiBqVDJEJMWGt+4kgIeKCGad8kiRlBCgXA7IJachGYM24A=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj6/ACACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmow3g/+OLZDD+9iXh9FNbONzk/ZvzB9mzZZ0uaYLHoD+3wFPY9gau9D\r\nx41cS2IZgS0UR+AiNQsfBsaE5yQka2seKVKcOXI6lgSu9Pl0wPydrHpis0yN\r\nNbMlZeq56xsJHeqywuYao1pSYDQHFhew4LKuyxYHab62Vsz4jhO/4nOpjZgu\r\nAb82bac8eLVh6cWHTc4FD/IWc0C9vIws7Ji1nmLoBHczb/zupcs+NgIdC7WM\r\njB5aTzEiGN3ceAaICTrEyFKsuyF5sovntGYjp1iW8QoGo4GXaHX6hBX2WwdC\r\nXTFB88if6cp+7kH63HmSc3J6Gv3IXGNhcXbkQzBOY4SNG3aNKGD9nyESUrDw\r\nqxcdbY+DmShIVK78AbsXFBTMuggpRQ0XaDMAzTtMlvUeLnFoWvg6pvNvOYYV\r\nuHGcNdGcM4AvV3kduWFjEpzFfUcjFP+zIhDgmmDsJugO4TdEEwxN7OvK91EP\r\ngppRlSJFwdd4MqL/bjJtd4DOv3vMmEtyGfbG5Un0Un7G8r18r2lJfktswy4y\r\nCexYbFc0P+3GuDkC5B/ca1oTHeMAnz9l9XoXlr+Zva+K7KFhcbaGbA62t3NZ\r\nkTHGkscInITGZZut0AH9vKbdVCZ/YIzLCaH7tDVlWYLEwEQLtu3PEfdyfe9U\r\nBINkteYoCK0v+6g6htRaPYxmGK8JlndLxk4=\r\n=PK2S\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"victorquinn","email":"mail@victorquinn.com"},"directories":{},"maintainers":[{"name":"victorquinn","email":"mail@victorquinn.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/coin_1.0.2_1676406786442_0.2761710586184485"},"_hasShrinkwrap":false}},"time":{"created":"2023-02-14T19:12:45.631Z","1.0.0":"2023-02-14T19:12:45.956Z","modified":"2023-02-14T20:33:06.759Z","1.0.1":"2023-02-14T19:15:46.404Z","1.0.2":"2023-02-14T20:33:06.651Z"},"maintainers":[{"name":"victorquinn","email":"mail@victorquinn.com"}],"description":"Generate a random coin with Chance.js.","homepage":"https://chancejs.com/","repository":{"type":"git","url":"git+https://github.com/chancejs/chancejs.git"},"author":{"name":"Victor Quinn","email":"mail@victorquinn.com"},"bugs":{"url":"https://github.com/chancejs/chancejs/issues"},"license":"MIT","readme":"# @chancejs/coin\n\nNote: This is a WIP proof of concept. DO NOT USE YET. I will remove this once it's ready for prime time :)\n\n## Installation\nInstall with npm\n`npm install @chancejs/coin`\n\nInstall with yarn\n`yarn add @chancejs/coin`\n\n## Usage\n\nIn your code, include it as follows:\n\n### CommonJS\n\n```js\n// Require\nlet chance = require('@chancejs/coin');\n\n// Use\nconsole.log(chance.coin()); // will output \"heads\" or \"tails\"\n```\n\n### ES Module\n```js\nimport * as chance from '@chancejs/coin';\n\nconsole.log(chance.coin()); // will output \"heads\" or \"tails\"\n```\n\n## Examples\n\n```js\n// usage\nchance.coin()\n```\n\nFlip a coin!\n\n```js\nchance.coin();\n=> 'heads'\n\nchance.coin();\n=> 'tails'\n```\n","readmeFilename":"README.md"}