{"_id":"@alvarocastro/roll-cli","_rev":"2-56cbef7a0e9cc8f8cfb1906129a4661a","name":"@alvarocastro/roll-cli","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@alvarocastro/roll-cli","version":"1.0.0","description":"Roll your 2d6 from the command line!","main":"index.js","scripts":{"test":"xo && nyc ava","coverage":"nyc report --reporter=text-lcov | coveralls"},"bin":{"roll":"cli.js"},"repository":{"type":"git","url":"git+https://github.com/alvarocastro/roll-cli.git"},"author":{"name":"Alvaro Castro"},"license":"MIT","bugs":{"url":"https://github.com/alvarocastro/roll-cli/issues"},"homepage":"https://github.com/alvarocastro/roll-cli#readme","devDependencies":{"ava":"3.5.2","coveralls":"3.0.11","nyc":"15.0.0","xo":"0.28.1"},"dependencies":{"@alvarocastro/roll":"0.0.1","commander":"^5.0.0"},"gitHead":"82e9a3e3cdc83374f64f0fdf11d39ad78752bdb5","_id":"@alvarocastro/roll-cli@1.0.0","_nodeVersion":"13.7.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-w8mzN9BbuXYqcuQrYSKq8COhWNdTCFxX5lUgXFGuY0oX1SfHD6lJBnetzf1AR0g0CUwmPVmTmYm7oMANcchpDA==","shasum":"4a3e4b411c3a44432881063eeeb5e85ab947b2dd","tarball":"https://registry.npmjs.org/@alvarocastro/roll-cli/-/roll-cli-1.0.0.tgz","fileCount":8,"unpackedSize":5359,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJehSPNCRA9TVsSAnZWagAAzgcP/R11m97Y36Pdm4IiB0dk\nyuTkNovkOkRvTKC27+NondZUS3HWsp9NDM4WexbiSQ6geHrGvyBMH2AHvgC3\nJye0Nx5Ql14Wgr3FOxn+iCOz2ZxmRkWXMC+j+fKWaC1+Yup2N41Xy8SYghu8\nO3y2Y6qw1LlSEvAuNpilrflpcabYkYXFwP5lyIeD2SnVYZmLMshrOHH3kF5i\ns1XOAlbO+uLSyPdQJxsJd/uJgQjwozVRETq8MGhydhGW5BIk2xBalUaVHdqa\nTSBfSDNVaEnPR/hphUwl+y4sgKGcvmMUSVu3J1nSgg5ESP35igByjE5XWri3\nnL/0sRy/6so+RUSBGxndo4yzU0coGjaS63w9rqzym0vZB8ZCwfko4Fel5liu\nX73gIcg0CXHDosNo2r/QR//CNL8tLHeFl9RuLUhUBAwMus8Zz6X04MGWadvR\n1aQJ95DPkJMQcBsztjZ1YbHxMATRRPBlbl1hdJAtrNE2VMRT+Mn2gWlsS2eM\nx84xxnnYDszFgcYDQYeAmrVQ9qrPhx1xp+5RMyvcMEuRG+mOhwSZ3QhHDrHP\nt2PktSZSscF6xAdta2T0a17ilQoppgHwhMK2g9/U4zbM6XlnTbM96RK5Kf3+\nsNBzyPEkVpwqyRKMWygvzbnt/iFDBSPQtY+dnqM41RiIJsofD0wdYfmxvd+/\nmq46\r\n=vis+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIChYDwhOEIR4j9ZelrjLu9DCx9WQEijEfGR93L2oyJwSAiAV1BvLfsE0UquH3Wq8TYvkdxxNfinzLlUAXfJztUQ4EQ=="}]},"maintainers":[{"name":"alvarocastro","email":"moltar89@gmail.com"}],"_npmUser":{"name":"alvarocastro","email":"moltar89@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/roll-cli_1.0.0_1585783757459_0.6284710366484592"},"_hasShrinkwrap":false},"1.0.1":{"name":"@alvarocastro/roll-cli","version":"1.0.1","description":"Roll your 2d6 from the command line!","main":"index.js","scripts":{"test":"xo && nyc ava","coverage":"nyc report --reporter=text-lcov | coveralls"},"bin":{"roll":"cli.js"},"repository":{"type":"git","url":"git+https://github.com/alvarocastro/roll-cli.git"},"author":{"name":"Alvaro Castro"},"license":"MIT","bugs":{"url":"https://github.com/alvarocastro/roll-cli/issues"},"homepage":"https://github.com/alvarocastro/roll-cli#readme","devDependencies":{"ava":"3.12.1","coveralls":"3.1.0","nyc":"15.1.0","xo":"0.33.1"},"dependencies":{"@alvarocastro/roll":"1.0.0","commander":"^6.1.0"},"gitHead":"1c19a3ece8bd1e819ce8eee9b510e00508490f24","_id":"@alvarocastro/roll-cli@1.0.1","_nodeVersion":"13.7.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-CJkMN4bcIHf8DfrugMJ3kCQtOFPkSi3p3hLL2V90X2Rd985c5gyjjxWR73IjLQIXu3u4WU77vHuYg4hxXhz0nw==","shasum":"a814c68540457519921f54133bc5564eb27eaf46","tarball":"https://registry.npmjs.org/@alvarocastro/roll-cli/-/roll-cli-1.0.1.tgz","fileCount":8,"unpackedSize":5630,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfboPlCRA9TVsSAnZWagAAyY8P/1lHlYWHkvTQ0M3/1ulu\nsDapwMxhNWT8l4QqGwmnRxoaeyOx4OhHea4mYm7PNOGq2YynAsIRUq0bbcEe\n2JKGJOcUbE3ud+Fba4IwUiz/x5EHFLVXJKVNF/J3O2OmHOlpLdJb9rDDSCUr\n9m3A53i7UN4KUDP65RvK+fJ7JXNt2CKQjIdugxh6yjlh2OQHLI7urRt52+cb\n3lfFUGeqn9AxFycQv7HOikbF/7Ca2lwq202Q9SggSD3XZ2GhuokrqWiVWZ7W\nc9pQzES19tQSbPXBJMgxsoQTMHOnV148xLXUCXYpIr9we+/PawkTiwHaHMjz\n2hPOAl/VlRxmPtDpR8dRynALrl789/SkzN3kinTQcIDYcfBpJnv/5qEgQsaj\naKgosmmUSMvqDTQJ8fzlWha/PcZ6UFk6hKGhWXgwUL4gBTky3xrXvqRdLENx\nmTRksVaxN2d4WGrJxR7Vi3Vkhif13IKu3krJQIwxdelWm2sXRzH8LjC+TPU0\nFyAuaBZD37t0eaivaq5SUTG+7ow09dx4BqJeAYR6Y4/ZHSlAeHL7ffTF+fQN\nNS34rX8f6KAmvIHX9tAeROk4KpL17Gyf3FxjV4sS6D5vHmhkBVNHJsFOBMZy\nZsIKxsF5IyXTTyxBzJDi7CcgEKKqDitB7Ytr56NlwodX0SFyx1rg7yV+8oy0\nWhk1\r\n=x1+2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHSxhqs3jIUOdLbKFRZRXRi5GksPys9RUsuLG8cWgunWAiEAq3yjqFEzF07ZJEwzN9+WaGIQrQG+DguHI2KpH31YU6o="}]},"maintainers":[{"name":"alvarocastro","email":"moltar89@gmail.com"}],"_npmUser":{"name":"alvarocastro","email":"moltar89@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/roll-cli_1.0.1_1601078244977_0.08999783011297846"},"_hasShrinkwrap":false}},"time":{"created":"2020-04-01T23:29:17.225Z","1.0.0":"2020-04-01T23:29:17.583Z","modified":"2022-04-04T13:41:44.720Z","1.0.1":"2020-09-25T23:57:25.122Z"},"maintainers":[{"name":"alvarocastro","email":"moltar89@gmail.com"}],"description":"Roll your 2d6 from the command line!","homepage":"https://github.com/alvarocastro/roll-cli#readme","repository":{"type":"git","url":"git+https://github.com/alvarocastro/roll-cli.git"},"author":{"name":"Alvaro Castro"},"bugs":{"url":"https://github.com/alvarocastro/roll-cli/issues"},"license":"MIT","readme":"# roll-cli\n\n[![NPM](https://img.shields.io/npm/v/@alvarocastro/roll-cli.svg)](https://www.npmjs.com/package/@alvarocastro/roll-cli)\n[![Build Status](https://travis-ci.com/alvarocastro/roll-cli.svg?branch=master)](https://travis-ci.com/alvarocastro/roll-cli)\n[![Maintainability](https://badgen.net/codeclimate/maintainability/alvarocastro/roll-cli)](https://codeclimate.com/github/alvarocastro/roll-cli/maintainability)\n[![Coverage Status](https://coveralls.io/repos/github/alvarocastro/roll-cli/badge.svg?branch=master)](https://coveralls.io/github/alvarocastro/roll-cli?branch=master)\n[![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/xojs/xo)\n\nRoll your dices directly from the command line!\n\nIt supports the dice notation in the form of `AdX`, like `1d6` and even simple transforms like `2d10+5`, but it also supports more complex rolls like `1d8-1d6/2`.\n\n- [Install](#install)\n- [Usage](#usage)\n- [Contributing](#contributing)\n- [Support](#support)\n- [Related](#related)\n\n## Install\n\n```bash\nnpm install -g @alvarocastro/roll-cli\n```\n\n## Usage\n\n```bash\n$ roll 2d6\n7\n```\n\n```bash\n$ roll 1d6+1d10\n12\n```\n\nIt can also display detailed information about rolls being made:\n\n```bash\n$ roll -d 2d6+1d10+3\nRolls:\n- 2d6: 2, 5\n- 1d10: 8\n\nResult: 18\n```\n\n### roll [-d] \\<dice\\>\n\n#### dice\n\nA dice notation string. It supports `%` for percentile dices (`1d%` is the same as `1d100`).\nIt also supports basic math: `+`, `-`, `*` and `/`.\n\n#### Options\n\n##### -d, --details\n\nUsed to output detailed information about the roll. Useful to check doubles, critical hits (or failures)\n\n##### -v, --version\n\nDisplays the current installed version of this utility.\n\n## Contributing\n\nContributions are always welcome! Please run `npm test` beforehand to ensure everything is ok.\n\n## Support\n\nIf you use this package please consider starring it :)\n\n## Related\n\n* [@alvarocastro/roll](https://github.com/alvarocastro/roll) - JavaScript library used to parse and roll the dices.\n","readmeFilename":"README.md"}