{"_id":"busterbunny","_rev":"25-5b6c7af5fd40f79e9bad4bc279d82c99","name":"busterbunny","description":"Opinionated EventBus Library for amqplib","dist-tags":{"latest":"0.8.1"},"versions":{"0.0.1":{"name":"busterbunny","version":"0.0.1","license":"MIT","repository":{"type":"git","url":"git+https://github.com/GannettDigital/busterbunny.js.git"},"dependencies":{"amqplib":"^0.3.2","merge":"^1.2.0","string-format":"^0.5.0"},"devDependencies":{"coveralls":"^2.11.2","istanbul":"^0.3.14","mocha":"^2.2.4","mockery":"^1.4.0"},"scripts":{"test":"mocha","cover":"istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec","coveralls":"npm run cover && ./node_modules/coveralls/bin/coveralls.js < coverage/lcov.info"},"gitHead":"b840a5eb725efcee94a2ab242fb99692afbb403a","description":"[![Coverage Status](https://coveralls.io/repos/GannettDigital/busterbunny.js/badge.svg)](https://coveralls.io/r/GannettDigital/busterbunny.js) [![Build Status](https://travis-ci.org/GannettDigital/busterbunny.js.svg?branch=master)](https://travis-ci.org/G","bugs":{"url":"https://github.com/GannettDigital/busterbunny.js/issues"},"homepage":"https://github.com/GannettDigital/busterbunny.js#readme","_id":"busterbunny@0.0.1","_shasum":"d21b4e766d5b6c3522a330b27f70906d6774466f","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"binaryalchemist","email":"kristopher.l.alexander@gmail.com"},"maintainers":[{"name":"binaryalchemist","email":"kristopher.l.alexander@gmail.com"}],"dist":{"shasum":"d21b4e766d5b6c3522a330b27f70906d6774466f","tarball":"https://registry.npmjs.org/busterbunny/-/busterbunny-0.0.1.tgz","integrity":"sha512-VoqlayLwFUlj16uto20KIP0yASQViHHERf1mt7zn5kmmMLCRq1AxEW24YIJnSzuKkJvxs9rZS6q6gjGSAh+TFg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC3MzGbhI0uxyx4mwhvjisOlMReSiBofmRFxXY2TwGnbwIgE0ODwPd4Igg+KPYjrrO/tap/lCzt37xq9u4s8LfsBJA="}]}},"0.0.2":{"name":"busterbunny","version":"0.0.2","description":"Opinionated EventBus Library for amqplib","license":"MIT","repository":{"type":"git","url":"git+https://github.com/GannettDigital/busterbunny.js.git"},"dependencies":{"amqplib":"^0.3.2","merge":"^1.2.0","string-format":"^0.5.0"},"devDependencies":{"coveralls":"^2.11.2","istanbul":"^0.3.14","mocha":"^2.2.4","mockery":"^1.4.0"},"scripts":{"test":"mocha","cover":"istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec","coveralls":"npm run cover && ./node_modules/coveralls/bin/coveralls.js < coverage/lcov.info"},"gitHead":"d528c99f5484de20d11f8272c067c9a136bb3524","bugs":{"url":"https://github.com/GannettDigital/busterbunny.js/issues"},"homepage":"https://github.com/GannettDigital/busterbunny.js#readme","_id":"busterbunny@0.0.2","_shasum":"ac92a5f0b608506f59ba3932f47e4e4574c6823e","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"binaryalchemist","email":"kristopher.l.alexander@gmail.com"},"maintainers":[{"name":"binaryalchemist","email":"kristopher.l.alexander@gmail.com"}],"dist":{"shasum":"ac92a5f0b608506f59ba3932f47e4e4574c6823e","tarball":"https://registry.npmjs.org/busterbunny/-/busterbunny-0.0.2.tgz","integrity":"sha512-cuW9WRu9yQfMzItluKsRXWpfrVkE6ydAozejz1qaJATKDL/v8BtymjMVaj74DnwnpDqb17R20X+9msu7z5C3wg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDYSqs4zlg5ApebOPb7Z7Z2ABxoWy9xujDKLmRijANb1QIhAM0pHccrbRRybDk64S7iAbrSTWO/VTPgpMVJDeLEG0Dl"}]}},"0.1.0":{"name":"busterbunny","version":"0.1.0","description":"Opinionated EventBus Library for amqplib","license":"MIT","repository":{"type":"git","url":"git+https://github.com/GannettDigital/busterbunny.js.git"},"dependencies":{"amqplib":"^0.3.2","merge":"^1.2.0","string-format":"^0.5.0"},"devDependencies":{"coveralls":"^2.11.2","istanbul":"^0.3.14","mocha":"^2.2.4","mockery":"^1.4.0"},"scripts":{"test":"mocha","cover":"istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec","coveralls":"npm run cover && ./node_modules/coveralls/bin/coveralls.js < coverage/lcov.info"},"gitHead":"bf733979395edd32b7e699c550e931d930004f43","bugs":{"url":"https://github.com/GannettDigital/busterbunny.js/issues"},"homepage":"https://github.com/GannettDigital/busterbunny.js#readme","_id":"busterbunny@0.1.0","_shasum":"7c8658bfabd9851c44c92b1d97af958d2b103e4f","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"binaryalchemist","email":"kristopher.l.alexander@gmail.com"},"maintainers":[{"name":"binaryalchemist","email":"kristopher.l.alexander@gmail.com"}],"dist":{"shasum":"7c8658bfabd9851c44c92b1d97af958d2b103e4f","tarball":"https://registry.npmjs.org/busterbunny/-/busterbunny-0.1.0.tgz","integrity":"sha512-lAh6E6CjKx3SdswXrI62xHDoMlsyCXSE2AXXpPDKi3KmmBqqs/qWMg+BOiBTbtapvxOS9Do01/7BQ2O6d5gTqQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDN+YXbFcxLRM13iqbCUqWjV2jz9kSOXuTVNciCaj2gvgIgOKMmtKWizF9/QYxhF20gyXSSw5eQoayAjANxtagLAmk="}]}},"0.1.1":{"name":"busterbunny","version":"0.1.1","description":"Opinionated EventBus Library for amqplib","license":"MIT","repository":{"type":"git","url":"git+https://github.com/GannettDigital/busterbunny.js.git"},"dependencies":{"amqplib":"^0.3.2","merge":"^1.2.0","string-format":"^0.5.0"},"devDependencies":{"coveralls":"^2.11.2","istanbul":"^0.3.14","mocha":"^2.2.4","mockery":"^1.4.0"},"scripts":{"test":"mocha","cover":"istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec","coveralls":"npm run cover && ./node_modules/coveralls/bin/coveralls.js < coverage/lcov.info"},"gitHead":"43dd5700f04d4fc78b0c6ef3b2e303667637037b","bugs":{"url":"https://github.com/GannettDigital/busterbunny.js/issues"},"homepage":"https://github.com/GannettDigital/busterbunny.js#readme","_id":"busterbunny@0.1.1","_shasum":"7da16c85a8b2661b7e6825fae05d1386f0bec218","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"binaryalchemist","email":"kristopher.l.alexander@gmail.com"},"maintainers":[{"name":"binaryalchemist","email":"kristopher.l.alexander@gmail.com"}],"dist":{"shasum":"7da16c85a8b2661b7e6825fae05d1386f0bec218","tarball":"https://registry.npmjs.org/busterbunny/-/busterbunny-0.1.1.tgz","integrity":"sha512-Cv6PwhETrguXasrou1IQ0ZBDTtWAXn3ZfVuVg149v4WMmIjoc/NH2YFCRxfm/R5b6WVVBp7tfkIAewZsMpSCpg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFOSC6qxIHvGHj8eiuw7ak+VGmYydNcNpO9hfqiJVezAAiAfSjkISS3eK80FtKpgLzvLhCwHbq8CJ8hJ/3dZ5g/NaQ=="}]}},"0.1.2":{"name":"busterbunny","version":"0.1.2","description":"Opinionated EventBus Library for amqplib","license":"MIT","repository":{"type":"git","url":"git+https://github.com/GannettDigital/busterbunny.js.git"},"dependencies":{"amqplib":"^0.3.2","merge":"^1.2.0","string-format":"^0.5.0"},"devDependencies":{"coveralls":"^2.11.2","istanbul":"^0.3.14","mocha":"^2.2.4","mockery":"^1.4.0"},"scripts":{"test":"mocha","cover":"istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec","coveralls":"npm run cover && ./node_modules/coveralls/bin/coveralls.js < coverage/lcov.info"},"gitHead":"f445d746bd441091af75e9f6b0bdb00633a5cdf4","bugs":{"url":"https://github.com/GannettDigital/busterbunny.js/issues"},"homepage":"https://github.com/GannettDigital/busterbunny.js#readme","_id":"busterbunny@0.1.2","_shasum":"e9a75c7cd49052bb10ce07865ff18a629cb38d2c","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"binaryalchemist","email":"kristopher.l.alexander@gmail.com"},"maintainers":[{"name":"binaryalchemist","email":"kristopher.l.alexander@gmail.com"}],"dist":{"shasum":"e9a75c7cd49052bb10ce07865ff18a629cb38d2c","tarball":"https://registry.npmjs.org/busterbunny/-/busterbunny-0.1.2.tgz","integrity":"sha512-CuEu++BwtDITGzkEfO6I9I5GOJG8608v4IgciYJXgAO8PD82nRCumYma2sXvQbxtDaXfJlAu2xPObJvYQ8i9GQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC602JIMZJc1kDcuFtHS9WY/fCEbyH9uBecqhHbONyVQAiBwoiq5z/vpMvHQhSF05ibL64JHqlly26AyFZ0gMVoZow=="}]}},"0.2.0":{"name":"busterbunny","version":"0.2.0","description":"Opinionated EventBus Library for amqplib","license":"MIT","main":"./src/busterbunny.js","repository":{"type":"git","url":"git+https://github.com/GannettDigital/busterbunny.js.git"},"dependencies":{"amqplib":"^0.3.2","merge":"^1.2.0","string-format":"^0.5.0"},"devDependencies":{"coveralls":"^2.11.2","istanbul":"^0.3.14","mocha":"^2.2.4","mockery":"^1.4.0"},"scripts":{"test":"mocha","cover":"istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec","coveralls":"npm run cover && ./node_modules/coveralls/bin/coveralls.js < coverage/lcov.info"},"gitHead":"42f6631ab450b0155b359900fd18bca0fc7f1600","bugs":{"url":"https://github.com/GannettDigital/busterbunny.js/issues"},"homepage":"https://github.com/GannettDigital/busterbunny.js#readme","_id":"busterbunny@0.2.0","_shasum":"e4cfd041390f6ce76d04aed367189683edb6f3d6","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"binaryalchemist","email":"kristopher.l.alexander@gmail.com"},"maintainers":[{"name":"binaryalchemist","email":"kristopher.l.alexander@gmail.com"}],"dist":{"shasum":"e4cfd041390f6ce76d04aed367189683edb6f3d6","tarball":"https://registry.npmjs.org/busterbunny/-/busterbunny-0.2.0.tgz","integrity":"sha512-rHp4dEFKdGL/snIMSyMiaXvKukDQY6JFYsdkvFPKHgkv2P0D9XNgHsj3O5vitLryGPCjFih9MaDsnHIxg/Cs4Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDNA0pEwCc6SD4dri4ZKGzzOzf4URTWERk1yDdAx+N4FgIhAKr22XX+QqB3XcVIwtn8GRJMgdc2VRkYxwskjY8LhPh6"}]}},"0.3.0":{"name":"busterbunny","version":"0.3.0","description":"Opinionated EventBus Library for amqplib","license":"MIT","main":"src/busterbunny.js","repository":{"type":"git","url":"git+https://github.com/GannettDigital/busterbunny.js.git"},"dependencies":{"amqplib":"^0.3.2","merge":"^1.2.0","string-format":"^0.5.0"},"Dependencies":{"coveralls":"^2.11.2","istanbul":"^0.3.14","mocha":"^2.2.4","mockery":"^1.4.0"},"scripts":{"test":"mocha","cover":"istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec","coveralls":"npm run cover && ./node_modules/coveralls/bin/coveralls.js < coverage/lcov.info"},"gitHead":"9215c7a27c04f9fee2f8ac12ba717b6e814cde0f","bugs":{"url":"https://github.com/GannettDigital/busterbunny.js/issues"},"homepage":"https://github.com/GannettDigital/busterbunny.js#readme","_id":"busterbunny@0.3.0","_shasum":"781cb1f5629c6767e19db7a830d4b368b10d30a5","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"binaryalchemist","email":"kristopher.l.alexander@gmail.com"},"maintainers":[{"name":"binaryalchemist","email":"kristopher.l.alexander@gmail.com"}],"dist":{"shasum":"781cb1f5629c6767e19db7a830d4b368b10d30a5","tarball":"https://registry.npmjs.org/busterbunny/-/busterbunny-0.3.0.tgz","integrity":"sha512-WrWcgHUqK1+HqWm+BKcstSBUw32KUSwe2zixpfZw3ngCf3S7BFoTf+/Ty1+uKs4jp74brNchwIdevjEmeMgrFg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC4v/UFg3BGY9P0AYoYsI0GNOs7Y0T/9WwQW71sVQBY4QIgUPV8aBMLEWuM7WVvhkWM1DfA+bxqx4M6+CDNrt7JKPo="}]}},"0.4.0":{"name":"busterbunny","version":"0.4.0","description":"Opinionated EventBus Library for amqplib","license":"MIT","main":"src/busterbunny.js","repository":{"type":"git","url":"git+https://github.com/GannettDigital/busterbunny.js.git"},"dependencies":{"amqplib":"^0.3.2","merge":"^1.2.0","string-format":"^0.5.0"},"Dependencies":{"coveralls":"^2.11.2","istanbul":"^0.3.14","mocha":"^2.2.4","mockery":"^1.4.0"},"scripts":{"test":"mocha","cover":"istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec","coveralls":"npm run cover && ./node_modules/coveralls/bin/coveralls.js < coverage/lcov.info"},"gitHead":"b3d66a3df13ac4ecb91ccac73a06c39ce62bccf8","bugs":{"url":"https://github.com/GannettDigital/busterbunny.js/issues"},"homepage":"https://github.com/GannettDigital/busterbunny.js#readme","_id":"busterbunny@0.4.0","_shasum":"62728aaf35181f4f4f79d4db02656f47a6c5b72a","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"binaryalchemist","email":"kristopher.l.alexander@gmail.com"},"maintainers":[{"name":"binaryalchemist","email":"kristopher.l.alexander@gmail.com"}],"dist":{"shasum":"62728aaf35181f4f4f79d4db02656f47a6c5b72a","tarball":"https://registry.npmjs.org/busterbunny/-/busterbunny-0.4.0.tgz","integrity":"sha512-Cdfj0NXNr7zdEDx/NpEb9WGPHOxd82rFzTezED0PZUTh0odoQV4XUL2xJRhr9V8DQVh1t3p+luPip2gnfeeRRA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD9I9OaKCVEOcc2sSKp89zY60RO4Zmvjw8D7DR5qmgrKAIhAMQBhQPLlh7aUd88hbTTO2cXNA3wI1i+7rjetCfeHO+s"}]}},"0.4.1":{"name":"busterbunny","version":"0.4.1","description":"Opinionated EventBus Library for amqplib","license":"MIT","main":"src/busterbunny.js","repository":{"type":"git","url":"git+https://github.com/GannettDigital/busterbunny.js.git"},"dependencies":{"amqplib":"^0.3.2","merge":"^1.2.0","string-format":"^0.5.0"},"Dependencies":{"coveralls":"^2.11.2","istanbul":"^0.3.14","mocha":"^2.2.4","mockery":"^1.4.0"},"scripts":{"test":"mocha","cover":"istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec","coveralls":"npm run cover && ./node_modules/coveralls/bin/coveralls.js < coverage/lcov.info"},"gitHead":"d192ef5035bd5d7c1dc4a95998a5c4f663002fdf","bugs":{"url":"https://github.com/GannettDigital/busterbunny.js/issues"},"homepage":"https://github.com/GannettDigital/busterbunny.js#readme","_id":"busterbunny@0.4.1","_shasum":"6e5c0d2c7ba1d91ec02d912899e8119e8f8bbbd8","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"binaryalchemist","email":"kristopher.l.alexander@gmail.com"},"maintainers":[{"name":"binaryalchemist","email":"kristopher.l.alexander@gmail.com"}],"dist":{"shasum":"6e5c0d2c7ba1d91ec02d912899e8119e8f8bbbd8","tarball":"https://registry.npmjs.org/busterbunny/-/busterbunny-0.4.1.tgz","integrity":"sha512-1lIwxfyDhsX9D1H0xQ4LfqFHvBtsaUGQ95WhOMZNRR8oR4ton4d3k9Z1kinxlA01/7Q5uu00rRbknj/xJK+Mww==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAR8lriZqU89AW/ceWv4/gHc5BHKmIG/gEYMvhHDl0nWAiB4nr55ng+WKg7ByRE/jVyux6d4h0CZ5MH7ZpvGKXOIXg=="}]}},"0.5.1":{"name":"busterbunny","version":"0.5.1","description":"Opinionated EventBus Library for amqplib","license":"MIT","main":"src/busterbunny.js","repository":{"type":"git","url":"git+https://github.com/GannettDigital/busterbunny.js.git"},"dependencies":{"amqplib":"^0.3.2","chai":"^3.0.0","merge":"^1.2.0","string-format":"^0.5.0"},"devDependencies":{"coveralls":"^2.11.2","istanbul":"^0.3.14","mocha":"^2.2.4","mockery":"^1.4.0"},"scripts":{"test":"mocha","cover":"istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec","coveralls":"npm run cover && ./node_modules/coveralls/bin/coveralls.js < coverage/lcov.info"},"gitHead":"cfbcdd5c0401e50ce5dfac6a7c22b7c984ebb6f3","bugs":{"url":"https://github.com/GannettDigital/busterbunny.js/issues"},"homepage":"https://github.com/GannettDigital/busterbunny.js#readme","_id":"busterbunny@0.5.1","_shasum":"974fa1ec62b5ffe44b125d0f7df8b6cffa7bfaeb","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"binaryalchemist","email":"kristopher.l.alexander@gmail.com"},"maintainers":[{"name":"binaryalchemist","email":"kristopher.l.alexander@gmail.com"}],"dist":{"shasum":"974fa1ec62b5ffe44b125d0f7df8b6cffa7bfaeb","tarball":"https://registry.npmjs.org/busterbunny/-/busterbunny-0.5.1.tgz","integrity":"sha512-GmAFwiGMYc4OCmWK5+rV+7ly+tMFK+0oVqueVZ2lusLsTgpkm/+GP8tKlad1eWdck2078vOFFqgOgwadDX7Vpg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGiFilYQhXn9b2fNFUZrcsswYWcuLNO55owTlydTclkQAiArBysp49Np/DdvUA/JtmNHqJY1/+/10MvCVzJ/h/bN6A=="}]}},"0.5.6":{"name":"busterbunny","version":"0.5.6","description":"Opinionated EventBus Library for amqplib","license":"MIT","main":"src/busterbunny.js","repository":{"type":"git","url":"git+https://github.com/GannettDigital/busterbunny.js.git"},"dependencies":{"amqplib":"^0.3.2","chai":"^3.0.0","merge":"^1.2.0","string-format":"^0.5.0"},"devDependencies":{"coveralls":"^2.11.2","istanbul":"^0.3.14","mocha":"^2.2.4","mockery":"^1.4.0"},"scripts":{"test":"mocha","cover":"istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec","coveralls":"npm run cover && ./node_modules/coveralls/bin/coveralls.js < coverage/lcov.info"},"gitHead":"0e3288fb4e0d319420ba97dcb04032989c3bd624","bugs":{"url":"https://github.com/GannettDigital/busterbunny.js/issues"},"homepage":"https://github.com/GannettDigital/busterbunny.js#readme","_id":"busterbunny@0.5.6","_shasum":"0393dcdffa48e80356499523ff3b5d860baf0c12","_from":".","_npmVersion":"2.14.9","_nodeVersion":"0.12.9","_npmUser":{"name":"enigmatic00","email":"npm-publisher@dhutia.net"},"dist":{"shasum":"0393dcdffa48e80356499523ff3b5d860baf0c12","tarball":"https://registry.npmjs.org/busterbunny/-/busterbunny-0.5.6.tgz","integrity":"sha512-AdMeOmfVsY4tYGZEp/YJbHkqVfRn+h5JkAzkGAJXRm73fJl/zlHo43HIX+4Oqkh5yWhV4tCfiW3FvhhvgLxVlg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDZ4nru9czXTSmO4V9kj+fiWJg+HRsqfla6+7vkt2cuJwIhAO25x0ELFoCmuhYaoHuRIvuUTRu0N8vkeAF1O3Fai/W5"}]},"maintainers":[{"name":"binaryalchemist","email":"kristopher.l.alexander@gmail.com"},{"name":"enigmatic00","email":"npm-publisher@dhutia.net"},{"name":"jhaugh42","email":"juhaugh@gannett.com"}]},"0.6.0":{"name":"busterbunny","version":"0.6.0","description":"Opinionated EventBus Library for amqplib","license":"MIT","main":"src/busterbunny.js","repository":{"type":"git","url":"git+https://github.com/GannettDigital/busterbunny.js.git"},"dependencies":{"amqplib":"^0.3.2","chai":"^3.0.0","merge":"^1.2.0","string-format":"^0.5.0"},"devDependencies":{"coveralls":"^2.11.2","istanbul":"^0.3.14","mocha":"^2.2.4","mockery":"^1.4.0"},"scripts":{"test":"mocha","cover":"istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec","coveralls":"npm run cover && ./node_modules/coveralls/bin/coveralls.js < coverage/lcov.info"},"gitHead":"c1cf18479cf025389828253712762170a9da038e","bugs":{"url":"https://github.com/GannettDigital/busterbunny.js/issues"},"homepage":"https://github.com/GannettDigital/busterbunny.js#readme","_id":"busterbunny@0.6.0","_shasum":"e1d72eb8f54c69a6784fa155a466e2793b50f6c0","_from":".","_npmVersion":"2.14.9","_nodeVersion":"0.12.9","_npmUser":{"name":"enigmatic00","email":"npm-publisher@dhutia.net"},"dist":{"shasum":"e1d72eb8f54c69a6784fa155a466e2793b50f6c0","tarball":"https://registry.npmjs.org/busterbunny/-/busterbunny-0.6.0.tgz","integrity":"sha512-l2pjSS/xlNS3sp7mffAw8CByQqKl47bRwINIGJmCxrwhKh0v+SRRPsHOUs/VC4BW8RmZMJDfQkYTKnf0JeW6jg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCye5aKGflue8H3jhPu2XgJTptDM/sNlcew3Bxgq9Y2vwIhAKuDV4mlRKW+t3y9GKMOv4TsceyYbfamDQE1kM8d9/a/"}]},"maintainers":[{"name":"binaryalchemist","email":"kristopher.l.alexander@gmail.com"},{"name":"enigmatic00","email":"npm-publisher@dhutia.net"},{"name":"jhaugh42","email":"juhaugh@gannett.com"},{"name":"johndietz","email":"john.dietz@relentlessdev.com"}]},"0.6.1":{"name":"busterbunny","version":"0.6.1","description":"Opinionated EventBus Library for amqplib","license":"MIT","main":"src/busterbunny.js","repository":{"type":"git","url":"git+https://github.com/GannettDigital/busterbunny.js.git"},"dependencies":{"amqplib":"^0.3.2","chai":"^3.0.0","ip":"^1.1.0","merge":"^1.2.0","string-format":"^0.5.0"},"devDependencies":{"coveralls":"^2.11.2","istanbul":"^0.3.14","mocha":"^2.2.4","mockery":"^1.4.0","sinon":"^1.17.2"},"scripts":{"test":"mocha","cover":"istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec","coveralls":"npm run cover && ./node_modules/coveralls/bin/coveralls.js < coverage/lcov.info"},"gitHead":"8718160a14cf277e0bb8751183df28177b8451a5","bugs":{"url":"https://github.com/GannettDigital/busterbunny.js/issues"},"homepage":"https://github.com/GannettDigital/busterbunny.js#readme","_id":"busterbunny@0.6.1","_shasum":"a158c09f0bfb4c0d92c4227c22ce55716a914528","_from":".","_npmVersion":"2.14.9","_nodeVersion":"0.12.9","_npmUser":{"name":"enigmatic00","email":"npm-publisher@dhutia.net"},"dist":{"shasum":"a158c09f0bfb4c0d92c4227c22ce55716a914528","tarball":"https://registry.npmjs.org/busterbunny/-/busterbunny-0.6.1.tgz","integrity":"sha512-OK2DGk+xz0s0VujqgMNGdjoJhymvdsFYT+8TmzJGyAcBOJS4CzQLz7JTc0i9bEp25NcsRi8HSKt4YN91iUimZw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCjuXVvJewQdhC+OIaqPJMbPA+LxxW7QrS0fL0rIvaXSQIhAN5m9xVVML31OpBuc1cNjRx1z/Up0jSayf8WvJaPrc7s"}]},"maintainers":[{"name":"binaryalchemist","email":"kristopher.l.alexander@gmail.com"},{"name":"enigmatic00","email":"npm-publisher@dhutia.net"},{"name":"jhaugh42","email":"juhaugh@gannett.com"},{"name":"johndietz","email":"john.dietz@relentlessdev.com"}]},"0.7.0":{"name":"busterbunny","version":"0.7.0","description":"Opinionated EventBus Library for amqplib","license":"MIT","main":"src/busterbunny.js","repository":{"type":"git","url":"git+https://github.com/GannettDigital/busterbunny.js.git"},"dependencies":{"amqplib":"^0.4.0","chai":"^3.0.0","ip":"^1.1.0","merge":"^1.2.0","string-format":"^0.5.0"},"devDependencies":{"coveralls":"^2.11.2","istanbul":"^0.3.14","mocha":"^2.2.4","mockery":"^1.4.0","sinon":"^1.17.2"},"scripts":{"test":"mocha","cover":"istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec","coveralls":"npm run cover && ./node_modules/coveralls/bin/coveralls.js < coverage/lcov.info"},"gitHead":"b13200210251a00d8468c04ce9bd1ca61c05ce9e","bugs":{"url":"https://github.com/GannettDigital/busterbunny.js/issues"},"homepage":"https://github.com/GannettDigital/busterbunny.js#readme","_id":"busterbunny@0.7.0","_shasum":"258abe8e78e08e0682f9d11269a1b74993efedd3","_from":".","_npmVersion":"2.14.9","_nodeVersion":"0.12.12","_npmUser":{"name":"enigmatic00","email":"npm-publisher@dhutia.net"},"dist":{"shasum":"258abe8e78e08e0682f9d11269a1b74993efedd3","tarball":"https://registry.npmjs.org/busterbunny/-/busterbunny-0.7.0.tgz","integrity":"sha512-1GDymY/5k8StNREHVye+Fd/Xxqqfsc21F4f0ufaBFvcB30lG/Khn3TLjS/w5QQ4pe4u7/KutRJ+caQevIO+meg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICH5DPscb0pBYs8OH4wu9G9l/mlzlpRJdMyIM2PL6Wi1AiB3l0d5JVuijcvZOZIY48USpwPYMdF2dFC2VOCDu2V6Lg=="}]},"maintainers":[{"name":"binaryalchemist","email":"kristopher.l.alexander@gmail.com"},{"name":"enigmatic00","email":"npm-publisher@dhutia.net"},{"name":"jhaugh42","email":"juhaugh@gannett.com"},{"name":"johndietz","email":"john.dietz@relentlessdev.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/busterbunny-0.7.0.tgz_1459440504650_0.8179440652020276"}},"0.8.0":{"name":"busterbunny","version":"0.8.0","description":"Opinionated EventBus Library for amqplib","license":"MIT","main":"src/busterbunny.js","repository":{"type":"git","url":"git+https://github.com/GannettDigital/busterbunny.js.git"},"dependencies":{"amqplib":"^0.4.0","chai":"^3.0.0","ip":"^1.1.0","merge":"^1.2.0","string-format":"^0.5.0"},"devDependencies":{"coveralls":"^2.11.2","istanbul":"^0.3.14","mocha":"^2.2.4","mockery":"^1.4.0","sinon":"^1.17.2"},"scripts":{"test":"mocha --recursive test/unit","cover":"istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec","coveralls":"npm run cover && ./node_modules/coveralls/bin/coveralls.js < coverage/lcov.info"},"gitHead":"44cdc29cc16325e95c61fae8bbe95bbf5f6f709c","bugs":{"url":"https://github.com/GannettDigital/busterbunny.js/issues"},"homepage":"https://github.com/GannettDigital/busterbunny.js#readme","_id":"busterbunny@0.8.0","_shasum":"e39e5fc9613b4605edcecfba6e35c3e48166b332","_from":".","_npmVersion":"2.15.1","_nodeVersion":"0.12.14","_npmUser":{"name":"enigmatic00","email":"npm-publisher@dhutia.net"},"dist":{"shasum":"e39e5fc9613b4605edcecfba6e35c3e48166b332","tarball":"https://registry.npmjs.org/busterbunny/-/busterbunny-0.8.0.tgz","integrity":"sha512-wRp0Bs45/fTa4hG+FYBjVWo8EhUTxALn/YPG80MCffjUKREewlyF2kWDoc73Wi+0Vpa2qx0XRvR2ok36bpyhjw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE6IbZdZaQYk8tLfvNDR9rmo3tkrAAyT0fUJHEsPXivhAiEAkWKPoZxSKLRWTvpkVzUQLtx/zxdl0WS6IKgrtPlM26M="}]},"maintainers":[{"name":"binaryalchemist","email":"kristopher.l.alexander@gmail.com"},{"name":"enigmatic00","email":"npm-publisher@dhutia.net"},{"name":"jhaugh42","email":"juhaugh@gannett.com"},{"name":"johndietz","email":"john.dietz@relentlessdev.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/busterbunny-0.8.0.tgz_1464139207908_0.7356919138692319"}},"0.8.1":{"name":"busterbunny","version":"0.8.1","description":"Opinionated EventBus Library for amqplib","license":"MIT","main":"src/busterbunny.js","repository":{"type":"git","url":"git+https://github.com/GannettDigital/busterbunny.js.git"},"dependencies":{"amqplib":"^0.4.0","chai":"^3.0.0","ip":"^1.1.0","merge":"^1.2.0","string-format":"^0.5.0"},"devDependencies":{"coveralls":"^2.11.2","istanbul":"^0.3.14","mocha":"^2.2.4","mockery":"^1.4.0","sinon":"^1.17.2"},"scripts":{"test":"mocha --recursive test/unit","cover":"istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec","coveralls":"npm run cover && ./node_modules/coveralls/bin/coveralls.js < coverage/lcov.info"},"gitHead":"42a39c14e512ddc9752947f6e7b13c9713e93b87","bugs":{"url":"https://github.com/GannettDigital/busterbunny.js/issues"},"homepage":"https://github.com/GannettDigital/busterbunny.js#readme","_id":"busterbunny@0.8.1","_shasum":"052e7af3f26149ae8928457295c78f04cfae78d1","_from":".","_npmVersion":"2.15.1","_nodeVersion":"0.12.17","_npmUser":{"name":"enigmatic00","email":"npm-publisher@dhutia.net"},"dist":{"shasum":"052e7af3f26149ae8928457295c78f04cfae78d1","tarball":"https://registry.npmjs.org/busterbunny/-/busterbunny-0.8.1.tgz","integrity":"sha512-udXE1nBVIX1we/nsvkn/K0xapcS6QUW92TuOAYxn3aqe0rZXyFU+yXvREOYmfSwJjbliZDVLzGCRicTM3pW83g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCpTQt+c/ogi9xVWqNeBhu/umfTBJFbOe4LbmoQe0SvDgIgM8I1UuV40Q20paaJAYU33Oo1FqiPQMKcgo17Bw7zsqs="}]},"maintainers":[{"name":"binaryalchemist","email":"kristopher.l.alexander@gmail.com"},{"name":"enigmatic00","email":"npm-publisher@dhutia.net"},{"name":"jhaugh42","email":"juhaugh@gannett.com"},{"name":"johndietz","email":"john.dietz@relentlessdev.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/busterbunny-0.8.1.tgz_1478707067192_0.5779792729299515"}}},"readme":"# busterbunny.js\n\nOpinionated EventBus Library for amqplib\n\n[![npm](https://img.shields.io/npm/v/busterbunny.svg)](https://www.npmjs.com/package/busterbunny) [![Coverage Status](https://coveralls.io/repos/GannettDigital/busterbunny.js/badge.svg)](https://coveralls.io/r/GannettDigital/busterbunny.js) [![Build Status](https://travis-ci.org/GannettDigital/busterbunny.js.svg?branch=master)](https://travis-ci.org/GannettDigital/busterbunny.js)\n\n\n\nInstallation\n------------\n```npm install busterbunny```\n\nDev Setup\n---------\n```\nnpm install -g mocha\nnpm install -g istanbul\nnpm install coveralls\nnpm install mockery\n```\n\nUnit Testing\n------------\nTesting can be run using the following command\n\n```\nnpm run test\n```\n\nCode Coverage\n-------------\n\nCode Coverage provided by Instanbul with hooks for coveralls.  To see coverage report run\n\n```\nnpm run cover\n```\n\nUsage\n--------------\n\n```node\nvar BusterBunny = require('busterbunny');\n\n//example config\nvar config = {\n    amqp: {\n        cluster: {\n            host: 'host.host.it',\n            port: 5672,\n            vhost: '/',\n            login: 'someguy',\n            password: '2insecure',\n            heartbeat: 10\n        },\n        queues: [\n            {\n                name: 'i.read.from.this1'\n            },\n            {\n                name: 'i.read.from.this2'\n            }\n        ],\n        exchange: 'i.write.2.this1'\n    },\n    statsInterval: 10\n};\n\n//init buster bunny\nvar busterBunny = new BusterBunny(config.amqp);\n\n//define an onAfterRaised callback\nfunction onAfterRaised(err) {\n    //handle the error if it exists, or continue\n}\n\n//raise event against bus\n//this will be done when connection and channel is available\n\n//raise events without AMQP options (see amqplib for available options)\nbusterBunny.raiseEvents('id.1001', { data: { x: 9001 } }, onAfterRaised);\n\n//raise events, providing AMQP options \nbusterBunny.raiseEvents('id.1002', { data: { x: 9002 } }, {amqp: 'options here'}, onAfterRaised);\n\n//NOTE: calls to raiseEvents are required to provide a callback as the last parameter\n\n//subscribe to events from bus\n//this will be done when connection and channel is available\nbusterBunny.subscribe(function(event, message) {\n    console.log(\"I found a \" + event.type + \" event!\");\n\n    doAnAsyncOperationWithTheEvent(event, function(error, someData) {\n        if(error) {\n            if(exception === 'we can recover from this error, eventually') {\n                //requeue the message like this\n                message.reject(true);\n\n            } else {\n                //or reject and remove it from the bus\n                message.reject();\n            }\n        } else {\n            message.acknowledge();\n        }\n\n    });\n});\n\n```\n\nEvents\n-------\nBuster Bunny is an event emitter so it allows you to hook into the object to do things such as logging.  \nBuster Bunny provides events as a frozen object within buster bunny.  \n\nFor example if you wanted to log warnings coming out of busterbunny   \n\n```node\n//This assumes you have required everything and have a logger\nvar busterBunny = new BusterBunny(config);\n\nbusterBunny.on(busterBunny.EVENTS.WARNING_RAISED, function(msg) {\n    logger.warn(msg);\n});\n```\n\nThe current list of events (the property names) are ...\n\n0. ```WARNING_RAISED``` when a warning (like when a threshold is reached) has been reached\n\t* Parameters: `warningMessage`\n0. ```STATS``` when config.statsInterval is provided, busterbunny statistics are emitted at the specified interval of seconds\n\t* Parameters: `stats`\n0. ```READY``` when buster bunny has successfully established or re-established a connection and channels are available\n\t* No Parameters\n0. ```CONNECTING``` when buster bunny is establishing connections\n\t* Parameters: `connection` \n0. ```RECONNECTING``` after a connection has been lost but before it has been reconnected\n\t* No Parameters \n0. ```CONNECTED``` after a connection has been established\n\t* No Parameters\n0. ```DISCONNECTING``` when buster bunny is disconnecting its connection\n\t* No Parameters \n0. ```DISCONNECTED``` after a disconnection has been completed and stats have been flushed\n\t* No Parameters\n0. ```AMQP_ERROR``` when the amqplib throws an error\n\t* Parameters: `error` \n0. ```PUBLISH_CHANNEL_ESTABLISHED``` when buster bunny is ready to publish events to an exchange\n\t* No Parameters\n0. ```PUBLISH_REQUESTED``` when an event has been raised with buster bunny\n\t* No Parameters\n0. ```EVENT_RECEIVED``` when buster bunny has received an event from amqp\n\t* Parameters: `event`, `message` \n0. ```EVENT_ACKED``` when buster bunny has been asked to acknowledge an event\n\t* Parameters: `event`, `message`, `timeAcked` \n0. ```EVENT_NACKED``` when buster bunny has been asked to reject or requeue an event\n\t* Parameters: `event`, `message`, `requeued`, `timeNacked` \n\nSome Opinions To Be Aware Of\n----------------------------\n* The library tries to ALWAYS be connected to amqp over one connection with 1 channel for publishing and 1 for consuming.\n* The library also WARNS BUT DOENS'T REJECT when thresholds are hit allowing applications to handle the warning gracefully.\n* The library doesn't enforce the format of event messages.\n* The library does want all events to at least have an identifier and data.\n* The library requires specification of a callback for both `subscribe` and `raiseEvents`\n\n","maintainers":[{"name":"binaryalchemist","email":"kristopher.l.alexander@gmail.com"},{"name":"enigmatic00","email":"npm-publisher@dhutia.net"},{"name":"jhaugh42","email":"juhaugh@gannett.com"},{"name":"johndietz","email":"john.dietz@relentlessdev.com"}],"time":{"modified":"2022-06-13T05:20:05.747Z","created":"2015-05-29T21:25:13.109Z","0.0.1":"2015-05-29T21:25:13.109Z","0.0.2":"2015-05-29T21:36:17.547Z","0.1.0":"2015-05-29T22:09:56.760Z","0.1.1":"2015-05-29T22:33:04.324Z","0.1.2":"2015-05-31T09:05:20.622Z","0.2.0":"2015-06-01T19:34:33.456Z","0.3.0":"2015-06-01T19:59:53.920Z","0.4.0":"2015-06-12T06:20:00.980Z","0.4.1":"2015-06-16T21:12:18.053Z","0.5.1":"2015-07-10T15:48:15.349Z","0.5.4":"2015-12-08T22:25:44.563Z","0.5.6":"2015-12-09T15:12:02.518Z","0.6.0":"2015-12-11T15:51:41.991Z","0.6.1":"2015-12-15T20:32:17.366Z","0.7.0":"2016-03-31T16:08:26.701Z","0.8.0":"2016-05-25T01:20:10.287Z","0.8.1":"2016-11-09T15:57:49.326Z"},"homepage":"https://github.com/GannettDigital/busterbunny.js#readme","repository":{"type":"git","url":"git+https://github.com/GannettDigital/busterbunny.js.git"},"bugs":{"url":"https://github.com/GannettDigital/busterbunny.js/issues"},"license":"MIT","readmeFilename":"README.md","users":{}}