{"_id":"rollin","_rev":"9-d49289c95a8dda0b3c09dbb067f220f6","name":"rollin","description":"Roll dice from the command line using D&D-style syntax","dist-tags":{"latest":"1.0.0"},"versions":{"0.0.0":{"author":{"name":"Joshua Holbrook","email":"josh.holbrook@gmail.com","url":"http://jesusabdullah.github.com"},"name":"rollin","description":"Roll dice from the command line using D&D-style syntax","version":"0.0.0","homepage":"https://github.com/jesusabdullah/node-rollin","repository":{"type":"git","url":"git@github.com:jesusabdullah/node-roll.git"},"main":"lib/roll","bin":{"roll":"bin/roll"},"scripts":{"test":"nodeunit test/tests.js"},"engines":{"node":"~v0.4.12"},"dependencies":{},"devDependencies":{},"_npmJsonOpts":{"file":"/home/josh/.npm/rollin/0.0.0/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"rollin@0.0.0","_engineSupported":true,"_npmVersion":"1.0.22","_nodeVersion":"v0.4.12","_defaultsLoaded":true,"dist":{"shasum":"23cab8c2cd677d5c8e62d5b36c8dcdb79bb227d4","tarball":"https://registry.npmjs.org/rollin/-/rollin-0.0.0.tgz","integrity":"sha512-YMqzsiS8Cu8ucB1vFkTuxsnrgE1iWCr/1U1y5P/w2gkQrbry+ef6pFWZgeF0qi9Rtp5tYvwJg7zJHGc0AQSSUA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIASDgvjmd/mIW9fpZsIU3idrGWRWJS4jJMDipce/Oo23AiBtGGBXgvvdftcQKskbwTwmxmMqXbdvuWMXXV1nX1zTIQ=="}]},"maintainers":[{"name":"jesusabdullah","email":"josh.holbrook@gmail.com"}],"directories":{},"deprecated":"I wrote this module a very long time ago; you should use something else."},"1.0.0":{"author":{"name":"Joshua Holbrook","email":"josh.holbrook@gmail.com","url":"http://jfhbrook.github.io"},"name":"rollin","description":"Roll dice from the command line using D&D-style syntax","version":"1.0.0","homepage":"https://github.com/jfhbrook/node-rollin","repository":{"type":"git","url":"git+ssh://git@github.com/jfhbrook/node-rollin.git"},"main":"lib/roll","license":"MIT","bin":{"roll":"bin/roll"},"scripts":{"test":"tap test/*.js"},"dependencies":{"tap":"8.0.0"},"gitHead":"1cb18a56e2213cdf1fb6a6ff8e03469b3334e2a7","bugs":{"url":"https://github.com/jfhbrook/node-rollin/issues"},"_id":"rollin@1.0.0","_shasum":"23c2b61460adbe2f4dfa387ceed0fe3e42caebbd","_from":".","_npmVersion":"2.15.9","_nodeVersion":"4.5.0","_npmUser":{"name":"jfhbrook","email":"josh.holbrook@gmail.com"},"dist":{"shasum":"23c2b61460adbe2f4dfa387ceed0fe3e42caebbd","tarball":"https://registry.npmjs.org/rollin/-/rollin-1.0.0.tgz","integrity":"sha512-pPv3zxDh5TOkd8FA6hJ73YIAEGn1rISP/31IvEyhxUvn0i9V7cVOLtHP1jZNNCjp7novORhgPhIXQr791VXx8w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFPk91upVm1HG7R8Q1Ku0OU4cDkoJBhtzuXaY9ZC25B6AiEAwnT+Lluy2B9cKxfnx3Vv+8RRh0EVAbnG/TG6cEEnlaU="}]},"maintainers":[{"name":"jesusabdullah","email":"josh.holbrook@gmail.com"},{"name":"jfhbrook","email":"josh.holbrook@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/rollin-1.0.0.tgz_1477528829312_0.1071197867859155"},"directories":{},"deprecated":"I wrote this module a very long time ago; you should use something else."}},"maintainers":[{"email":"josh.holbrook@gmail.com","name":"jesusabdullah"}],"time":{"modified":"2022-06-26T13:56:08.378Z","created":"2011-09-21T04:10:26.748Z","0.0.0":"2011-09-21T04:10:27.565Z","1.0.0":"2016-10-27T00:40:31.523Z"},"author":{"name":"Joshua Holbrook","email":"josh.holbrook@gmail.com","url":"http://jfhbrook.github.io"},"repository":{"type":"git","url":"git+ssh://git@github.com/jfhbrook/node-rollin.git"},"homepage":"https://github.com/jfhbrook/node-rollin","readme":"# rollin (urban assault vehicle, natch)\n\nA little library for doing dice rolls.\n\n## Install\n\n    npm install rollin\n\n## Usage:\n\nFrom inside node:\n\n```js\nconst roll = require('rollin');\n\nconsole.log(roll('3d6'));\nconsole.log(roll('d8'));\nconsole.log(roll('12d4+2'));\nconsole.log(roll('d100+12'))\n```\n\nFrom the cli:\n\n```js\njosh@pidgey:~$ roll 3d6+2\n9\n```\n\nCommands are of the form `{number_of_dice}d{sides_of_die}[+/-{some_modifier}]`.\nSpaces are stripped, otherwise the DSL is pretty limited.\n\n## Tests:\n\n    npm test\n\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/jfhbrook/node-rollin/issues"},"license":"MIT"}