{"_id":"5th","_rev":"6-ebd19b3f9e9bff0fcae39bd3e368a03c","name":"5th","description":"5th edition, a library for 5th edition D&D applications.","dist-tags":{"latest":"0.3.0"},"versions":{"0.0.0":{"name":"5th","version":"0.0.0","description":"5th edition, a library for 5th edition D&D applications.","main":"index.js","scripts":{"test":"istanbul cover _mocha -- --recursive"},"repository":{"type":"git","url":"git+https://github.com/ryayak1460/5th.git"},"author":{"name":"Ryan Y","email":"ryayak1460@protingumas.org"},"license":"GPL-3.0","bugs":{"url":"https://github.com/ryayak1460/5th/issues"},"homepage":"https://github.com/ryayak1460/5th#readme","devDependencies":{"chai":"^4.1.2","istanbul":"^0.4.5","mocha":"^4.0.1","sinon":"^4.0.1"},"gitHead":"7d3e4bf6637e0df86132cc6c167d3eafac4791ae","_id":"5th@0.0.0","_npmVersion":"5.5.1","_nodeVersion":"8.7.0","_npmUser":{"name":"ryayak1460","email":"ryayak1460@protingumas.org"},"dist":{"integrity":"sha512-yiuqSyaI6V6vEMM5+Ppm1Pdtl0l67HseZl6YAGqNWz3N8iTTDm0ZZJK+BEvQ7iAHqCR95Px79oqTppobhWM4PA==","shasum":"533b143ea8b39fc9999c1594116e3d1b8c73f584","tarball":"https://registry.npmjs.org/5th/-/5th-0.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCU32qLDLzWxMk3pbKk8cyDDX+aCRQapacBcSgBx6ei1wIgch7eJCg1d+UEVSiaA8KPPMpz/6CdQ9h3aLXWzLSAhkw="}]},"maintainers":[{"name":"ryayak1460","email":"ryayak1460@protingumas.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/5th-0.0.0.tgz_1508546205627_0.34318714030086994"}},"0.1.0":{"name":"5th","version":"0.1.0","description":"5th edition, a library for 5th edition D&D applications.","main":"index.js","scripts":{"test":"istanbul cover _mocha -- --recursive"},"repository":{"type":"git","url":"git+https://github.com/ryayak1460/5th.git"},"author":{"name":"Ryan Y","email":"ryayak1460@protingumas.org"},"license":"GPL-3.0","bugs":{"url":"https://github.com/ryayak1460/5th/issues"},"homepage":"https://github.com/ryayak1460/5th#readme","devDependencies":{"chai":"^4.1.2","istanbul":"^0.4.5","mocha":"^4.0.1","sinon":"^4.0.1"},"gitHead":"d558ebcf7957c2516b67fbd681c6143b543c7e16","_id":"5th@0.1.0","_npmVersion":"5.5.1","_nodeVersion":"8.7.0","_npmUser":{"name":"ryayak1460","email":"ryayak1460@protingumas.org"},"dist":{"integrity":"sha512-fpoVxYH8+A5T/tt9xwLj7zDZ8V1IkzlVwMJfItwIiJ4lkgZKQ7O+/Y9OS0pCyxTMWOKfMhEy3po4DDretR6dpg==","shasum":"8d209247a7a10a8b5567319fb35b2430d1efe136","tarball":"https://registry.npmjs.org/5th/-/5th-0.1.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICA6wvc/zZPTIe7NfRRYNOOW8mJplDttMzNpnb7QUePqAiAZAcV9YfOhdS95eY/xbcA7DktmLHXRPEu0/MJMMP2lhA=="}]},"maintainers":[{"name":"ryayak1460","email":"ryayak1460@protingumas.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/5th-0.1.0.tgz_1508634863876_0.23905997420661151"}},"0.2.0":{"name":"5th","version":"0.2.0","description":"5th edition, a library for 5th edition D&D applications.","main":"index.js","scripts":{"test":"istanbul cover _mocha -- --recursive"},"repository":{"type":"git","url":"git+https://github.com/ryayak1460/5th.git"},"author":{"name":"Ryan Y","email":"ryayak1460@protingumas.org"},"license":"GPL-3.0","bugs":{"url":"https://github.com/ryayak1460/5th/issues"},"homepage":"https://github.com/ryayak1460/5th#readme","devDependencies":{"chai":"^4.1.2","istanbul":"^0.4.5","mocha":"^4.0.1","sinon":"^4.0.1"},"gitHead":"07818d710398030283c4cbce439345946ef0abd0","_id":"5th@0.2.0","_npmVersion":"5.5.1","_nodeVersion":"8.7.0","_npmUser":{"name":"ryayak1460","email":"ryayak1460@protingumas.org"},"dist":{"integrity":"sha512-v6kHnzdwJS4SRPP8F1HiiWoC3GIdLS961gNDjI1WeEhDvucG0BqFnpGgtxosjI5/byPTkVXRU5JISvZFd8kZ/w==","shasum":"b29644b425ab61f7842989807fde66543987a756","tarball":"https://registry.npmjs.org/5th/-/5th-0.2.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIENuCLkCUMUZdPK0ho0hDc5D2gr5AsNobyTuexAeW8HuAiA+Z9Hkw8UpebxamHuCkQiOgn6Lbe9guRoEi+6hu/LK5A=="}]},"maintainers":[{"name":"ryayak1460","email":"ryayak1460@protingumas.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/5th-0.2.0.tgz_1508871027039_0.5351190147921443"}},"0.2.1":{"name":"5th","version":"0.2.1","description":"5th edition, a library for 5th edition D&D applications.","main":"index.js","scripts":{"test":"istanbul cover _mocha -- --recursive"},"repository":{"type":"git","url":"git+https://github.com/ryayak1460/5th.git"},"author":{"name":"Ryan Y","email":"ryayak1460@protingumas.org"},"license":"GPL-3.0","bugs":{"url":"https://github.com/ryayak1460/5th/issues"},"homepage":"https://github.com/ryayak1460/5th#readme","devDependencies":{"chai":"^4.1.2","istanbul":"^0.4.5","mocha":"^4.0.1","sinon":"^4.0.1"},"gitHead":"b73bee0feb703f32ee47ba87e093e6906127ef1e","_id":"5th@0.2.1","_npmVersion":"5.5.1","_nodeVersion":"8.8.1","_npmUser":{"name":"ryayak1460","email":"ryayak1460@protingumas.org"},"dist":{"integrity":"sha512-rGEa3I9p2Q2GGvb6d9YIBy5WJDqT+NwuMPTkH0LYFgxJHk6qe87h8fl8UGnH/qEb+E1zHgAQBrTf5OuQhh+t1A==","shasum":"fca2bf586f077f3d87a6591101b60b4e8c40745e","tarball":"https://registry.npmjs.org/5th/-/5th-0.2.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEnXEiay6EndpU2nF2QoBV3HRxLP0w8AMCvRbiqj6LqeAiEA757KLPbaV7BjfkkcMGlgmSIImy3lSzrDrH2D3Qd3f38="}]},"maintainers":[{"name":"ryayak1460","email":"ryayak1460@protingumas.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/5th-0.2.1.tgz_1509303020909_0.07638917700387537"}},"0.2.2":{"name":"5th","version":"0.2.2","description":"5th edition, a library for 5th edition D&D applications.","main":"index.js","scripts":{"test":"istanbul cover _mocha -- --recursive"},"repository":{"type":"git","url":"git+https://github.com/ryayak1460/5th.git"},"author":{"name":"Ryan Y","email":"ryayak1460@protingumas.org"},"license":"GPL-3.0","bugs":{"url":"https://github.com/ryayak1460/5th/issues"},"homepage":"https://github.com/ryayak1460/5th#readme","devDependencies":{"chai":"^4.1.2","istanbul":"^0.4.5","mocha":"^4.0.1","sinon":"^4.0.1"},"gitHead":"f3d9d16886b813af82b8bb3abee27eef1fe66f2b","_id":"5th@0.2.2","_npmVersion":"5.5.1","_nodeVersion":"8.8.1","_npmUser":{"name":"ryayak1460","email":"ryayak1460@protingumas.org"},"dist":{"integrity":"sha512-hn1ln/xQNsRk/EbZRW5KvrrecD+Gu9O7J1zhQ//+CVL3jBwnXh1hPG9NJFYwFTCbgUNfQ9Yj9qg59Cp29O5z+Q==","shasum":"70217cad3f975af6c6455647451be6d8a1d03222","tarball":"https://registry.npmjs.org/5th/-/5th-0.2.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIASyZCWm4yVKXpBA91Ln6Ajo5osxiIKi9ASL0Z6fYcvIAiAoSX+k2DBox1uz6WA4RFN29e8t3xaA0ieCakBjk29duA=="}]},"maintainers":[{"name":"ryayak1460","email":"ryayak1460@protingumas.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/5th-0.2.2.tgz_1510112334189_0.32245565741322935"}},"0.3.0":{"name":"5th","version":"0.3.0","description":"5th edition, a library for 5th edition D&D applications.","main":"index.js","scripts":{"test":"istanbul cover _mocha -- --recursive"},"repository":{"type":"git","url":"git+https://github.com/ryayak1460/5th.git"},"author":{"name":"Ryan Y","email":"ryayak1460@protingumas.org"},"license":"GPL-3.0","bugs":{"url":"https://github.com/ryayak1460/5th/issues"},"homepage":"https://github.com/ryayak1460/5th#readme","devDependencies":{"chai":"^4.1.2","istanbul":"^0.4.5","mocha":"^4.0.1","sinon":"^4.0.1"},"gitHead":"5620ce0d94c99952f031b3eb83dfebadb442dcbd","_id":"5th@0.3.0","_npmVersion":"5.5.1","_nodeVersion":"8.8.1","_npmUser":{"name":"ryayak1460","email":"ryayak1460@protingumas.org"},"dist":{"integrity":"sha512-pZGnAMGW+E4Z0CFY9hEGRvnU4rmbeh8aeLp1T8rJF74z+MP+/9ynnQSbh19x1Xdg/pzvvemQqOlebZVSQkUAbg==","shasum":"5a906a3466fc5e74f9a6a4be3f9ee82777c2752c","tarball":"https://registry.npmjs.org/5th/-/5th-0.3.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG4Xmi8AQMdrLV34/T4zOWMjJWR22pD5RT4DnmO/MfjJAiAJA3NTZ5cAkuh/ENUE9EtFvqpK3dEju3RAvlvyTMjfoQ=="}]},"maintainers":[{"name":"ryayak1460","email":"ryayak1460@protingumas.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/5th-0.3.0.tgz_1510144216017_0.8051022307481617"}}},"readme":"<!--\n    5th edition, a library for 5th edition D&D applications.\n    Copyright (C) 2017  Ryan Y.\n\n    This program is free software: you can redistribute it and/or modify\n    it under the terms of the GNU General Public License as published by\n    the Free Software Foundation, either version 3 of the License, or\n    (at your option) any later version.\n\n    This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU General Public License for more details.\n\n    You should have received a copy of the GNU General Public License\n    along with this program.  If not, see <https://www.gnu.org/licenses/>.\n  -->\n# 5th\nThis project creates objects which anyone can use with another JavaScript-based\n5th edition application to handle common use cases, like making a character,\nhandling combat or even planning an encounter.\n\n## Usage\nTo use this library in your application, simply include it with `npm`:\n\n```\nnpm i --save 5th\n```\n\nYou will need to provide your own response handler, handler factory, entity\ngateway and gateway factory objects if required.  They will need to respond to a\nspecific set of methods.  We will denote details here later.\n\n## Handler Factory\n\nYou must implement a single object in your codebase with a \"make\" method which\ntakes a string and generates an object with a \"handle\" method which takes an\nobject and operates on it.  An example:\n\n```js\n// HandlerFactory.js\nconst handlers = {\n  'select race': {\n    handle({ character }) {\n      // do something with the character and its newly created race\n    }\n  }\n}\n\nmodule.exports = class {\n  make(type) {\n    if (!handlers.hasOwnProperty(type)) {\n      // throw an error of some sort\n    }\n    return handlers[type]\n  }\n}\n```\n","maintainers":[{"name":"ryayak1460","email":"ryayak1460@protingumas.org"}],"time":{"modified":"2022-04-04T10:23:24.313Z","created":"2017-10-21T00:36:46.607Z","0.0.0":"2017-10-21T00:36:46.607Z","0.1.0":"2017-10-22T01:14:24.880Z","0.2.0":"2017-10-24T18:50:28.017Z","0.2.1":"2017-10-29T18:50:22.181Z","0.2.2":"2017-11-08T03:38:55.208Z","0.3.0":"2017-11-08T12:30:17.060Z"},"homepage":"https://github.com/ryayak1460/5th#readme","repository":{"type":"git","url":"git+https://github.com/ryayak1460/5th.git"},"author":{"name":"Ryan Y","email":"ryayak1460@protingumas.org"},"bugs":{"url":"https://github.com/ryayak1460/5th/issues"},"license":"GPL-3.0","readmeFilename":"README.md"}