{"_id":"mubsub","_rev":"46-90cfdf527b4b2f9a882a51ee8f3f5fb1","name":"mubsub","description":"Pub/sub for Node.js and MongoDB","dist-tags":{"latest":"1.4.0"},"versions":{"0.0.1":{"name":"mubsub","version":"0.0.1","description":"Pub/sub for Node.js and MongoDB","homepage":"http://github.com/scttnlsn/mubsub","author":{"name":"Scott Nelson","email":"scottbnel@gmail.com"},"main":"./lib/index","repository":{"type":"git","url":"git://github.com/scttnlsn/mubsub.git"},"dependencies":{"mongodb":">= 0.9.9"},"devDependencies":{"mocha":">= 1.0.0"},"_npmUser":{"name":"scttnlsn","email":"scottbnel@gmail.com"},"_id":"mubsub@0.0.1","engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.106","_nodeVersion":"v0.6.2","_defaultsLoaded":true,"dist":{"shasum":"67df2ee08c7d9b12e4e873bc7eaa35ec25375354","tarball":"https://registry.npmjs.org/mubsub/-/mubsub-0.0.1.tgz","integrity":"sha512-bnvEwU43WfsQNNNE0zZ0CPgNqkD0MorXrXpHpbgT06clHtlGxW+UZvm6JJKLblg8CynybF21Pffp/Tz8WzkTFg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDeyXWV+WlUvBnohx/IgE8tcrKhVakhskpTHeb5TE+M6QIhAODELJG3DKRffjW9afoToEf73/CpJDV9Lb8GPztZhiIR"}]},"maintainers":[{"name":"scttnlsn","email":"scottbnel@gmail.com"}],"directories":{}},"0.0.2":{"name":"mubsub","version":"0.0.2","description":"Pub/sub for Node.js and MongoDB","homepage":"http://github.com/scttnlsn/mubsub","author":{"name":"Scott Nelson","email":"scottbnel@gmail.com"},"main":"./lib/index","keywords":["mongodb","pubsub","pub","sub","capped collection"],"contributors":[{"name":"Oleg Slobodskoi","email":"oleg008@gmail.com"}],"repository":{"type":"git","url":"git://github.com/scttnlsn/mubsub.git"},"dependencies":{"mongodb":">= 0.9.9"},"devDependencies":{"mocha":">= 1.0.0"},"_npmUser":{"name":"scttnlsn","email":"scottbnel@gmail.com"},"_id":"mubsub@0.0.2","optionalDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.25","_nodeVersion":"v0.6.2","_defaultsLoaded":true,"dist":{"shasum":"d2e20ef23b673ee67432c7a054f92f451aeeddb7","tarball":"https://registry.npmjs.org/mubsub/-/mubsub-0.0.2.tgz","integrity":"sha512-g073LbsrRSEzsl0oxcQQ/vRwIWs3Krfm6+UqUl6wsVqNdyIse/rNxa8uzcxO5D+FBl5L3Z4XvUghAKauHrO+qA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA0khrp+F7xRL6INss+7AsFLHqfwZAC7/O+YMKm8Mgc3AiEA9HFYFTkFmPHo1pWEpo/Tr4wyGD9Yz1GLxohl3NdQDIE="}]},"maintainers":[{"name":"scttnlsn","email":"scottbnel@gmail.com"}],"directories":{}},"0.1.0":{"name":"mubsub","version":"0.1.0","description":"Pub/sub for Node.js and MongoDB","homepage":"http://github.com/scttnlsn/mubsub","author":{"name":"Scott Nelson","email":"scottbnel@gmail.com"},"main":"./lib/index","keywords":["mongodb","pubsub","pub","sub","capped collection"],"contributors":[{"name":"Oleg Slobodskoi","email":"oleg008@gmail.com"}],"repository":{"type":"git","url":"git://github.com/scttnlsn/mubsub.git"},"dependencies":{"mongodb":">= 0.9.9"},"devDependencies":{"mocha":">= 1.0.0"},"_id":"mubsub@0.1.0","dist":{"shasum":"34b13970cf8936b916da511eb98b3eaef1f75bf1","tarball":"https://registry.npmjs.org/mubsub/-/mubsub-0.1.0.tgz","integrity":"sha512-OikR1sUI0gbKA41EY8Jwp+XNxo8mR10GX+k89YPPNteHeoKb1AX9BnryeWhCrpJSb4kU76D4SJkf/Fu8jYihFQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDDoL4xRnw/XdhHQyYfYYn1Ic0UTqRowOXMi0JtCKpwmAiEA2Ww1Q4XmW0KBsu7CJ8h8utRLVd6PIXtJZ7yOE+3Lj/8="}]},"maintainers":[{"name":"scttnlsn","email":"scottbnel@gmail.com"}],"directories":{}},"0.1.1":{"name":"mubsub","version":"0.1.1","description":"Pub/sub for Node.js and MongoDB","homepage":"http://github.com/scttnlsn/mubsub","author":{"name":"Scott Nelson","email":"scottbnel@gmail.com"},"main":"./lib/index","keywords":["mongodb","pubsub","pub","sub","capped collection"],"contributors":[{"name":"Oleg Slobodskoi","email":"oleg008@gmail.com"}],"repository":{"type":"git","url":"git://github.com/scttnlsn/mubsub.git"},"dependencies":{"mongodb":">= 0.9.9"},"devDependencies":{"mocha":">= 1.0.0"},"_id":"mubsub@0.1.1","dist":{"shasum":"a60218e630bace1e2ce2621aa168c2860c3cbb4b","tarball":"https://registry.npmjs.org/mubsub/-/mubsub-0.1.1.tgz","integrity":"sha512-i8lHhccyIdhh/15F1pFDSxdJ/iYQQ+lfd6mv6Hv0t37CQ2MtzzWxuq9v7W0FmoH/WrOAsuvbP9hfwIW5X5+AdA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDCG4HrdVlyf1KTtQeyRV9s9YrsHckobXrF9sXg9cq1bgIhAJSvl4M0TLwi1Sf41e1FLBKdqUcHkjUHjg2ZVmI9mZ+H"}]},"maintainers":[{"name":"scttnlsn","email":"scottbnel@gmail.com"}],"directories":{}},"0.1.2":{"name":"mubsub","version":"0.1.2","description":"Pub/sub for Node.js and MongoDB","homepage":"http://github.com/scttnlsn/mubsub","author":{"name":"Scott Nelson","email":"scottbnel@gmail.com"},"main":"./lib/index","keywords":["mongodb","pubsub","pub","sub","capped collection"],"contributors":[{"name":"Oleg Slobodskoi","email":"oleg008@gmail.com"}],"repository":{"type":"git","url":"git://github.com/scttnlsn/mubsub.git"},"dependencies":{"mongodb":">= 0.9.9"},"devDependencies":{"mocha":">= 1.0.0"},"_id":"mubsub@0.1.2","dist":{"shasum":"37bb917ca4f8559a573a51547819aa5d6f1eed8f","tarball":"https://registry.npmjs.org/mubsub/-/mubsub-0.1.2.tgz","integrity":"sha512-oXWo3OORF5TzczEcqyHzifiGrTOhQfp30bSGstbu5uerQtXlMgmXJSvwnxPBr0J15cth9V28HMNIytlPGFvU4Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAUJclcHimtIh0wzegHGAVVfLSH2puBoeS1g9Chr59apAiEA0TCDfWZdrCZj3YVj3vcHj5itdhg3IdUFhFakqDNFwsM="}]},"maintainers":[{"name":"scttnlsn","email":"scottbnel@gmail.com"}],"directories":{}},"0.1.3":{"name":"mubsub","version":"0.1.3","description":"Pub/sub for Node.js and MongoDB","homepage":"http://github.com/scttnlsn/mubsub","author":{"name":"Scott Nelson","email":"scottbnel@gmail.com"},"main":"./lib/index","keywords":["mongodb","pubsub","pub","sub","capped collection"],"contributors":[{"name":"Oleg Slobodskoi","email":"oleg008@gmail.com"}],"repository":{"type":"git","url":"git://github.com/scttnlsn/mubsub.git"},"dependencies":{"mongodb":">= 0.9.9"},"devDependencies":{"mocha":">= 1.0.0"},"_id":"mubsub@0.1.3","dist":{"shasum":"429424bd7ff57700ef37bab7fccc04631c1901a5","tarball":"https://registry.npmjs.org/mubsub/-/mubsub-0.1.3.tgz","integrity":"sha512-Qwa0xvLqEQwOyS0fB3uad8iwnXwzfTeE3ZdZB3IYXf1+oEkgBRYgsxfidaMd5Mu+vL218RKeLLh8MTJK3wgJWA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC2/4q7oc6OHdmEU76GuA2b7yyDIJk+lqfzuP3MiY0SoAiARP1qLlP66GUnNw87/ix0b8JCfHpM+GaaeCvCc576kGg=="}]},"maintainers":[{"name":"scttnlsn","email":"scottbnel@gmail.com"}],"directories":{}},"0.2.0":{"name":"mubsub","version":"0.2.0","description":"Pub/sub for Node.js and MongoDB","homepage":"http://github.com/scttnlsn/mubsub","author":{"name":"Scott Nelson","email":"scottbnel@gmail.com"},"main":"./lib/index","keywords":["mongodb","pubsub","pub","sub","capped collection"],"contributors":[{"name":"Oleg Slobodskoi","email":"oleg008@gmail.com"}],"repository":{"type":"git","url":"git://github.com/scttnlsn/mubsub.git"},"dependencies":{"mongoskin":">= 0.3.7"},"devDependencies":{"mocha":">= 1.0.0","sinon":">= 1.4.2"},"_id":"mubsub@0.2.0","dist":{"shasum":"42631796a59940dd77056e976ad11ba463cb69f0","tarball":"https://registry.npmjs.org/mubsub/-/mubsub-0.2.0.tgz","integrity":"sha512-WsQyJUgQmaNR+u4qAj4w5+kUFxrCfsiVAStxhH/r4c0fmNiZUwNYW8r34KipauMG3w6/O60tkYou5FUfbWkpNA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDFc6Uwk6MH+57oqbaEXWoSyqPOozx1M8cWNKfhwvmRAgIgONbt/1oF6gkuHJL1Uk8Agalmj8LBNZocqyRhRORSesI="}]},"maintainers":[{"name":"scttnlsn","email":"scottbnel@gmail.com"}],"directories":{}},"0.2.1":{"name":"mubsub","version":"0.2.1","description":"Pub/sub for Node.js and MongoDB","homepage":"http://github.com/scttnlsn/mubsub","author":{"name":"Scott Nelson","email":"scottbnel@gmail.com"},"main":"./lib/index","keywords":["mongodb","pubsub","pub","sub","capped collection"],"contributors":[{"name":"Oleg Slobodskoi","email":"oleg008@gmail.com"}],"repository":{"type":"git","url":"git://github.com/scttnlsn/mubsub.git"},"dependencies":{"mongoskin":">= 0.3.7"},"devDependencies":{"mocha":">= 1.0.0","sinon":">= 1.4.2"},"_id":"mubsub@0.2.1","dist":{"shasum":"7a98fcb69238333dfc921cc4c03594b272b6b1eb","tarball":"https://registry.npmjs.org/mubsub/-/mubsub-0.2.1.tgz","integrity":"sha512-cS7o58oxrq1+db6YISvZ249nfiMt88ecRwin/5Y/HNw1G7r7IC+mijZsuvHlhoOwaf7v3bxo0PicIbhVckCS1Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF6+ggk3TMyK7dZHQVyvQmIVjP6n+7M3c8MkE6UPiEG9AiB2PQkLYsq6vG4acZ4hGaCTkRZRrcLBPLLsUG6RPMqk7w=="}]},"_from":".","_npmVersion":"1.2.15","_npmUser":{"name":"scttnlsn","email":"scott@scttnlsn.com"},"maintainers":[{"name":"scttnlsn","email":"scottbnel@gmail.com"}],"directories":{}},"0.2.2":{"name":"mubsub","version":"0.2.2","description":"Pub/sub for Node.js and MongoDB","homepage":"http://github.com/scttnlsn/mubsub","author":{"name":"Scott Nelson","email":"scottbnel@gmail.com"},"main":"./lib/index","keywords":["mongodb","pubsub","pub","sub","capped collection"],"contributors":[{"name":"Oleg Slobodskoi","email":"oleg008@gmail.com"}],"repository":{"type":"git","url":"git://github.com/scttnlsn/mubsub.git"},"dependencies":{"mongoskin":">= 0.3.7"},"devDependencies":{"mocha":">= 1.0.0","sinon":">= 1.4.2"},"_id":"mubsub@0.2.2","dist":{"shasum":"097cfd613c1d4583e8b01495636f5b1d05525f38","tarball":"https://registry.npmjs.org/mubsub/-/mubsub-0.2.2.tgz","integrity":"sha512-pX8uImd1/s3C28oWC75MLrCtsJ3wSA6ndk3xi+5DSV5Fpo8jlcZEMcKWjhk6GKJcncewZ7w0WE7cBsw4rSkAjg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAEbrITO7Mlr613CZn5Nr+DwQwa0kbfaMDglFku5bFIFAiEA5zX9PBBlpNj9nHlpLAETlkKsQukpM/oFAwIhaxLulnY="}]},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"kof","email":"oleg008@gmail.com"},"maintainers":[{"name":"scttnlsn","email":"scottbnel@gmail.com"},{"name":"kof","email":"oleg008@gmail.com"}],"directories":{}},"1.0.0":{"name":"mubsub","version":"1.0.0","description":"Pub/sub for Node.js and MongoDB","homepage":"http://github.com/scttnlsn/mubsub","author":{"name":"Scott Nelson","email":"scottbnel@gmail.com"},"main":"./lib/index","keywords":["mongodb","pubsub","pub","sub","capped collection"],"contributors":[{"name":"Oleg Slobodskoi","email":"oleg008@gmail.com"}],"repository":{"type":"git","url":"git://github.com/scttnlsn/mubsub.git"},"dependencies":{"mongodb":"1.3.0"},"devDependencies":{"mocha":">= 1.0.0"},"_id":"mubsub@1.0.0","dist":{"shasum":"adb0235c2352b2c5638a9548df732dfe4402b27c","tarball":"https://registry.npmjs.org/mubsub/-/mubsub-1.0.0.tgz","integrity":"sha512-czgRpeGMYy0MvsQVTqzNx3lLywu8xeXpP3u0Flu/TmY80JoIt4SGVgfryHBFzvVD5ptp9NjGK4K4DR0VweRvvA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDN/6QyjXgUaSW6cW8Uab4+MT4J5ZPDRHKub/wHVN56DwIhALjz/3LHNK5ZTPpUETsa8OK6R80NW3whw6kUvd7URasY"}]},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"kof","email":"oleg008@gmail.com"},"maintainers":[{"name":"scttnlsn","email":"scottbnel@gmail.com"},{"name":"kof","email":"oleg008@gmail.com"}],"directories":{}},"1.0.1":{"name":"mubsub","version":"1.0.1","description":"Pub/sub for Node.js and MongoDB","homepage":"http://github.com/scttnlsn/mubsub","author":{"name":"Scott Nelson","email":"scottbnel@gmail.com"},"main":"./lib/index","keywords":["mongodb","pubsub","pub","sub","capped collection"],"contributors":[{"name":"Oleg Slobodskoi","email":"oleg008@gmail.com"}],"repository":{"type":"git","url":"git://github.com/scttnlsn/mubsub.git"},"dependencies":{"mongodb":"1.3.x"},"devDependencies":{"mocha":">= 1.0.0"},"_id":"mubsub@1.0.1","dist":{"shasum":"7d21069d9f5b955656f06bcc0b76c2e36c2e5029","tarball":"https://registry.npmjs.org/mubsub/-/mubsub-1.0.1.tgz","integrity":"sha512-K4uyydWhi896vET339UyiO8NqF9WzpZIonvee3bDYNYG6YBZfjkL6CkabFZpe48tFni4jvkiUsAn/oLG19Obag==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDxBMkQsgBALpZHNk2EURIbLK8mKoOYr4ufh8KL+cwmGAiB3vFoQo9Nvu1hsrE6XXsdTa95Em5qD9QxA8klmL+F57Q=="}]},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"kof","email":"oleg008@gmail.com"},"maintainers":[{"name":"scttnlsn","email":"scottbnel@gmail.com"},{"name":"kof","email":"oleg008@gmail.com"}],"directories":{}},"1.0.2":{"name":"mubsub","version":"1.0.2","description":"Pub/sub for Node.js and MongoDB","homepage":"http://github.com/scttnlsn/mubsub","author":{"name":"Scott Nelson","email":"scottbnel@gmail.com"},"main":"./lib/index","keywords":["mongodb","pubsub","pub","sub","capped collection"],"contributors":[{"name":"Oleg Slobodskoi","email":"oleg008@gmail.com"}],"repository":{"type":"git","url":"git://github.com/scttnlsn/mubsub.git"},"dependencies":{"mongodb":"1.3.x"},"devDependencies":{"mocha":">= 1.0.0"},"_id":"mubsub@1.0.2","dist":{"shasum":"627a0eeaa2066f7ab24cf4a398fe334dcea30752","tarball":"https://registry.npmjs.org/mubsub/-/mubsub-1.0.2.tgz","integrity":"sha512-cyaMjqyOqjwKypg/kisPkPEDfsYEoxrnvUUZ0bqc1FnLdgXeACHL5m4gwMdfpZbXqCZfk1+blUVlNhw8QChziQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC99+vU0DcHZI9Nri1qNO3BLvjZW4O7Gd1wuLFmsXHl6QIgKw6orwB6z11GCsMR3hOQlJ5TOxXKyoN1q6oh7/+FoEQ="}]},"_npmVersion":"1.1.70","_npmUser":{"name":"kof","email":"oleg008@gmail.com"},"maintainers":[{"name":"scttnlsn","email":"scottbnel@gmail.com"},{"name":"kof","email":"oleg008@gmail.com"}],"directories":{}},"1.0.3":{"name":"mubsub","version":"1.0.3","description":"Pub/sub for Node.js and MongoDB","homepage":"http://github.com/scttnlsn/mubsub","author":{"name":"Scott Nelson","email":"scottbnel@gmail.com"},"main":"./lib/index","keywords":["mongodb","pubsub","pub","sub","capped collection"],"contributors":[{"name":"Oleg Slobodskoi","email":"oleg008@gmail.com"}],"repository":{"type":"git","url":"git://github.com/scttnlsn/mubsub.git"},"dependencies":{"mongodb":"1.3.x"},"devDependencies":{"mocha":">= 1.0.0"},"_id":"mubsub@1.0.3","dist":{"shasum":"8339cd17251fa4f3956faaba229dd648b7d619a7","tarball":"https://registry.npmjs.org/mubsub/-/mubsub-1.0.3.tgz","integrity":"sha512-6pB/WHCSX/yoewQJtNIB36rMmNlW5XZS7P+Xd0jbqsRarj/KuE896KWAsELO1Mn804xIn0ossL5LrpwtFSp+9g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICjvbyqAvsJkbWosoDsLtiU6NYxT+c/LDP6KyptjcKf4AiB93jH7FFm7yE7eyQXuxrjyNr2yx80z/CKYDCBf/WVyJQ=="}]},"_npmVersion":"1.1.70","_npmUser":{"name":"kof","email":"oleg008@gmail.com"},"maintainers":[{"name":"scttnlsn","email":"scottbnel@gmail.com"},{"name":"kof","email":"oleg008@gmail.com"}],"directories":{}},"1.0.4":{"name":"mubsub","version":"1.0.4","description":"Pub/sub for Node.js and MongoDB","homepage":"http://github.com/scttnlsn/mubsub","author":{"name":"Scott Nelson","email":"scottbnel@gmail.com"},"main":"./lib/index","keywords":["mongodb","pubsub","pub","sub","capped collection"],"contributors":[{"name":"Oleg Slobodskoi","email":"oleg008@gmail.com"}],"repository":{"type":"git","url":"git://github.com/scttnlsn/mubsub.git"},"dependencies":{"mongodb":"1.3.x"},"devDependencies":{"mocha":">= 1.0.0"},"_id":"mubsub@1.0.4","dist":{"shasum":"75652cd63574d9b7147cc9227d88d9ebbd72bbcf","tarball":"https://registry.npmjs.org/mubsub/-/mubsub-1.0.4.tgz","integrity":"sha512-UmSVE0Um2+Ld+/MfyOs8LUvf+FO64/DasGFrni3gdmu43g8YNSlG52G9PjHP+RZXjWaf2JA3ZvyHXVfP4cJDkA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFKNLTiU+b2ExqkenhxGXtoj5wcvIHGxeebMQnEORgdmAiEA/AfYDUNaDN4QnIS3sNV2g2p6oNVL45SYp4LbLPFBRk4="}]},"_npmVersion":"1.1.70","_npmUser":{"name":"kof","email":"oleg008@gmail.com"},"maintainers":[{"name":"scttnlsn","email":"scottbnel@gmail.com"},{"name":"kof","email":"oleg008@gmail.com"}]},"1.1.0":{"name":"mubsub","version":"1.1.0","description":"Pub/sub for Node.js and MongoDB","homepage":"http://github.com/scttnlsn/mubsub","author":{"name":"Scott Nelson","email":"scott@scttnlsn.com"},"main":"./lib/index","keywords":["mongodb","pubsub","pub","sub","capped collection"],"contributors":[{"name":"Oleg Slobodskoi","email":"oleg008@gmail.com"}],"repository":{"type":"git","url":"git://github.com/scttnlsn/mubsub.git"},"dependencies":{"mongodb":"^2.0.35"},"devDependencies":{"mocha":"^2.2.5"},"scripts":{"test":"mocha test --timeout 5000","publish":"git push origin && git push origin --tags","release:patch":"npm version patch && npm publish","release:minor":"npm version minor && npm publish","release:major":"npm version major && npm publish"},"gitHead":"ce41e2929af38b4438316f3d5c2b16d7d6bfe2f9","bugs":{"url":"https://github.com/scttnlsn/mubsub/issues"},"_id":"mubsub@1.1.0","_shasum":"9bd8d05880d898628f9787ee673dfcf83cb26030","_from":".","_npmVersion":"2.12.1","_nodeVersion":"0.12.6","_npmUser":{"name":"scttnlsn","email":"scott@scttnlsn.com"},"maintainers":[{"name":"scttnlsn","email":"scottbnel@gmail.com"},{"name":"kof","email":"oleg008@gmail.com"}],"dist":{"shasum":"9bd8d05880d898628f9787ee673dfcf83cb26030","tarball":"https://registry.npmjs.org/mubsub/-/mubsub-1.1.0.tgz","integrity":"sha512-qmYfXqN0vEfZZtqfNZ8LFvtJtwdr1aqRCTDBHQebjSrm4WAHOQ+igtT4pukUCVTw+7pNyRc+radVpsRMKDe6pw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC9nLQs4KK6xUNqP2S/q2JFNNxpiYhlxEFEClfRV4V1ZAIhAMfYnf8g/ma48x8eeZOMihHrNUYqBxZINx3laErjduSS"}]}},"1.1.1":{"name":"mubsub","version":"1.1.1","description":"Pub/sub for Node.js and MongoDB","homepage":"http://github.com/scttnlsn/mubsub","author":{"name":"Scott Nelson","email":"scott@scttnlsn.com"},"main":"./lib/index","keywords":["mongodb","pubsub","pub","sub","capped collection"],"contributors":[{"name":"Oleg Slobodskoi","email":"oleg008@gmail.com"}],"repository":{"type":"git","url":"git://github.com/scttnlsn/mubsub.git"},"dependencies":{"mongodb":"^2.0.35"},"devDependencies":{"mocha":"^2.2.5"},"scripts":{"test":"mocha test --timeout 5000","publish":"git push origin && git push origin --tags","release:patch":"npm version patch && npm publish","release:minor":"npm version minor && npm publish","release:major":"npm version major && npm publish"},"gitHead":"3166624f9256325c5ca90451a170f93521b51068","bugs":{"url":"https://github.com/scttnlsn/mubsub/issues"},"_id":"mubsub@1.1.1","_shasum":"59fd8fa5aba1e53c0f48c8958769fa8816147db1","_from":".","_npmVersion":"3.3.9","_nodeVersion":"5.0.0","_npmUser":{"name":"scttnlsn","email":"scott@scttnlsn.com"},"maintainers":[{"name":"scttnlsn","email":"scottbnel@gmail.com"},{"name":"kof","email":"oleg008@gmail.com"}],"dist":{"shasum":"59fd8fa5aba1e53c0f48c8958769fa8816147db1","tarball":"https://registry.npmjs.org/mubsub/-/mubsub-1.1.1.tgz","integrity":"sha512-unQngY076RlhMeiVGwBzhhuuQ7Jww2nar5QdUQKi+zLjDqwv9YdNH1d/E6+6eAl7FBz2HM/sMeAvSUJ20oYlvg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCNHpfeX5t5Bx0ZaJizULE5pyoncEHf25aicyBRNrj3DgIhAL4YB0WVqhArkeolHw/pNCgyxMxyp0grleO1UU03qC38"}]}},"1.1.2":{"name":"mubsub","version":"1.1.2","description":"Pub/sub for Node.js and MongoDB","homepage":"http://github.com/scttnlsn/mubsub","author":{"name":"Scott Nelson","email":"scott@scttnlsn.com"},"main":"./lib/index","keywords":["mongodb","pubsub","pub","sub","capped collection"],"contributors":[{"name":"Oleg Slobodskoi","email":"oleg008@gmail.com"}],"repository":{"type":"git","url":"git://github.com/scttnlsn/mubsub.git"},"dependencies":{"mongodb":"^2.0.35"},"devDependencies":{"mocha":"^2.2.5"},"scripts":{"test":"mocha test --timeout 5000","publish":"git push origin && git push origin --tags","release:patch":"npm version patch && npm publish","release:minor":"npm version minor && npm publish","release:major":"npm version major && npm publish"},"gitHead":"4f4af8cce5446c07450cda1a060f969ab71afded","bugs":{"url":"https://github.com/scttnlsn/mubsub/issues"},"_id":"mubsub@1.1.2","_shasum":"c8953e638db7599e2e86c7f04f15816d584d9586","_from":".","_npmVersion":"3.3.9","_nodeVersion":"5.0.0","_npmUser":{"name":"scttnlsn","email":"scott@scttnlsn.com"},"maintainers":[{"name":"scttnlsn","email":"scottbnel@gmail.com"},{"name":"kof","email":"oleg008@gmail.com"}],"dist":{"shasum":"c8953e638db7599e2e86c7f04f15816d584d9586","tarball":"https://registry.npmjs.org/mubsub/-/mubsub-1.1.2.tgz","integrity":"sha512-/nRGKirVFYxG1T2cY8VjyZvA6cYg6wECfs3BfJSuGoVbCqsBjO0Eu1bVZsNhGqIrgeQSr/KJzruGOWmpewuhGA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDSJ6dGT+3qI6wjVG7NG6kUHgCF+ehWc7Uo/dK9krLuKQIhAIqB09VAX7l4B5NOUCp/xZUZ1YshF6sxCSocx9e8PN8m"}]}},"1.2.0":{"name":"mubsub","version":"1.2.0","description":"Pub/sub for Node.js and MongoDB","homepage":"http://github.com/scttnlsn/mubsub","author":{"name":"Scott Nelson","email":"scott@scttnlsn.com"},"license":"MIT","main":"./lib/index","keywords":["mongodb","pubsub","pub","sub","capped collection"],"contributors":[{"name":"Oleg Slobodskoi","email":"oleg008@gmail.com"}],"repository":{"type":"git","url":"git://github.com/scttnlsn/mubsub.git"},"dependencies":{"mongodb":"^2.0.35"},"devDependencies":{"mocha":"^2.2.5"},"scripts":{"test":"mocha test --timeout 5000","publish":"git push origin && git push origin --tags","release:patch":"npm version patch && npm publish","release:minor":"npm version minor && npm publish","release:major":"npm version major && npm publish"},"gitHead":"de872e442659d6eb2b3113b85d459fd7129027eb","bugs":{"url":"https://github.com/scttnlsn/mubsub/issues"},"_id":"mubsub@1.2.0","_shasum":"4c0f11cd0620e9318ec3c81da64b6a0bf94beea8","_from":".","_npmVersion":"3.5.3","_nodeVersion":"5.4.1","_npmUser":{"name":"scttnlsn","email":"scott@scttnlsn.com"},"maintainers":[{"name":"scttnlsn","email":"scottbnel@gmail.com"},{"name":"kof","email":"oleg008@gmail.com"}],"dist":{"shasum":"4c0f11cd0620e9318ec3c81da64b6a0bf94beea8","tarball":"https://registry.npmjs.org/mubsub/-/mubsub-1.2.0.tgz","integrity":"sha512-BBt3YmrMfk6v6bKLZs389GwSAlBWL04LZzOrYhhWs5dRZhQOzk5wnlkMhTinCWIpumsOnQpvudNGOc6XdwwO8A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICiIxc/KTLhM7o1uYce01/apigjQNGhvh1DeTn77st+uAiBY2eMIVvP83AqNYsfQdkbaiMtjwUI7QbaWlgLNeOcbBw=="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/mubsub-1.2.0.tgz_1461685728864_0.9080739428754896"}},"1.3.0":{"name":"mubsub","version":"1.3.0","description":"Pub/sub for Node.js and MongoDB","homepage":"http://github.com/scttnlsn/mubsub","author":{"name":"Scott Nelson","email":"scott@scttnlsn.com"},"license":"MIT","main":"./lib/index","keywords":["mongodb","pubsub","pub","sub","capped collection"],"contributors":[{"name":"Oleg Slobodskoi","email":"oleg008@gmail.com"}],"repository":{"type":"git","url":"git://github.com/scttnlsn/mubsub.git"},"dependencies":{"mongodb":"^2.0.35"},"devDependencies":{"mocha":"^2.2.5"},"scripts":{"test":"mocha test --timeout 10000","publish":"git push origin && git push origin --tags","release:patch":"npm version patch && npm publish","release:minor":"npm version minor && npm publish","release:major":"npm version major && npm publish"},"gitHead":"1975e8cb6eb08c5274836542733e64529873eebf","bugs":{"url":"https://github.com/scttnlsn/mubsub/issues"},"_id":"mubsub@1.3.0","_shasum":"97549f205037501802d9e6008cb8bd63ce943cf9","_from":".","_npmVersion":"3.10.10","_nodeVersion":"7.3.0","_npmUser":{"name":"scttnlsn","email":"scott@scttnlsn.com"},"dist":{"shasum":"97549f205037501802d9e6008cb8bd63ce943cf9","tarball":"https://registry.npmjs.org/mubsub/-/mubsub-1.3.0.tgz","integrity":"sha512-s7ITuVPdND69iqHJuWfLTDdacP5XCn1DiccI9hKECc46xa5i5raFhJtU3AhQdcocFxAX+pa1zDBvgRRdMGLdAA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDYddoiqi/tnCqwZdTN02aZ+6LR7Vf97bfmohKnIGfhmwIhAIS+CekGCkfu6ZX0Z/7vG5I735S5edcEzEn/rUcEsX5N"}]},"maintainers":[{"name":"scttnlsn","email":"scottbnel@gmail.com"},{"name":"kof","email":"oleg008@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/mubsub-1.3.0.tgz_1484240386463_0.6203600245062262"}},"1.4.0":{"name":"mubsub","version":"1.4.0","description":"Pub/sub for Node.js and MongoDB","homepage":"http://github.com/scttnlsn/mubsub","author":{"name":"Scott Nelson","email":"scott@scttnlsn.com"},"license":"MIT","main":"./lib/index","keywords":["mongodb","pubsub","pub","sub","capped collection"],"contributors":[{"name":"Oleg Slobodskoi","email":"oleg008@gmail.com"}],"repository":{"type":"git","url":"git://github.com/scttnlsn/mubsub.git"},"dependencies":{"mongodb":"^2.0.35"},"devDependencies":{"mocha":"^2.2.5"},"scripts":{"test":"mocha test --timeout 10000","publish":"git push origin && git push origin --tags","release:patch":"npm version patch && npm publish","release:minor":"npm version minor && npm publish","release:major":"npm version major && npm publish"},"gitHead":"6f1b6d7da675b312a81fbff8be9bebc44a151dd5","bugs":{"url":"https://github.com/scttnlsn/mubsub/issues"},"_id":"mubsub@1.4.0","_shasum":"b814274038d7839f3d0d63c57b2a37f46d6aaba9","_from":".","_npmVersion":"2.15.1","_nodeVersion":"0.10.48","_npmUser":{"name":"scttnlsn","email":"scott@scttnlsn.com"},"dist":{"shasum":"b814274038d7839f3d0d63c57b2a37f46d6aaba9","tarball":"https://registry.npmjs.org/mubsub/-/mubsub-1.4.0.tgz","integrity":"sha512-PeRcLqNrdV90r3miY4R0XUdb0gZaQqSiftxQsddvSfXkA3ve1L5eZ8l+ZLGHKtMjLCTYBjarRB4dfAbY8+3Zyw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB9KYMHHhcmGLC4jOWXKvfUJnoVG1N2gA9YrFSb82IHcAiBTNM1DCxdePrMgEo2/oQeAu0iw3u4OvNBfE/aH/xwN/A=="}]},"maintainers":[{"name":"scttnlsn","email":"scottbnel@gmail.com"},{"name":"kof","email":"oleg008@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/mubsub-1.4.0.tgz_1490015787932_0.4513818179257214"}}},"readme":"## mubsub\n\nMubsub is a pub/sub implementation for Node.js and MongoDB.  It utilizes Mongo's capped collections and tailable cursors to notify subscribers of inserted documents that match a given query.\n\n[![NPM](https://img.shields.io/npm/v/mubsub.svg?style=flat)](http://npm.im/mubsub)\n[![Build Status](https://img.shields.io/travis/scttnlsn/mubsub.svg?style=flat)](https://travis-ci.org/scttnlsn/mubsub)\n\n## Example\n\n```javascript\nvar mubsub = require('mubsub');\n\nvar client = mubsub('mongodb://localhost:27017/mubsub_example');\nvar channel = client.channel('test');\n\nclient.on('error', console.error);\nchannel.on('error', console.error);\n\nchannel.subscribe('bar', function (message) {\n    console.log(message.foo); // => 'bar'\n});\n\nchannel.subscribe('baz', function (message) {\n    console.log(message); // => 'baz'\n});\n\nchannel.publish('bar', { foo: 'bar' });\nchannel.publish('baz', 'baz');\n\n```\n\n## Usage\n\n### Create a client\n\nYou can pass a Db instance or a URI string. For more information about the URI format visit [http://mongodb.github.io/node-mongodb-native/driver-articles/mongoclient.html](http://mongodb.github.io/node-mongodb-native/driver-articles/mongoclient.html)\n\n```javascript\nvar mubsub = require('mubsub');\n\n// Using a URI\nvar client = mubsub('mongodb://localhost:27017/mubsub_example', [options]);\n\n// Passing a MongoDB driver `Db` instance directly.\nvar client = mubsub(new Db(...));\n```\n\n### Channels\n\nA channel maps one-to-one with a capped collection (Mubsub will create these if they do not already exist in the database).  Optionally specify the byte size of the collection and/or the max number of documents in the collection when creating a channel.\n\n**WARNING**: You should not create lots of channels because Mubsub will poll from the cursor position.\n\n```javascript\nvar channel = client.channel('foo', { size: 100000, max: 500 });\n```\n\nOptions:\n\n - `size` max size of the collection in bytes, default is 5mb\n - `max` max amount of documents in the collection\n - `retryInterval` time in ms to wait if no docs are found, default is 200ms\n - `recreate` recreate the tailable cursor when an error occurs, default is true\n\n\n**WARNING**: Don't remove collections with running publishers. It's possible for `mongod` to recreate the collection on the next insert (before Mubsub has the chance to do so).  If this happens the collection will be recreated as a normal, uncapped collection.\n\n### Subscribe\n\n```javascript\nvar subscription = channel.subscribe([event], callback);\n```\n\nSubscriptions register a callback to be called whenever a document matching the specified event is inserted (published) into the collection (channel).  You can omit the event to match all inserted documents. To later unsubscribe a particular callback, call `unsubscribe` on the returned subscription object:\n\n```javascript\nsubscription.unsubscribe();\n```\n### Publish\n\n```javascript\nchannel.publish(event, obj, [callback]);\n```\n\nPublishing a document simply inserts the document into the channel's capped collection.  A callback is optional.\n\n### Listen to events\n\nThe following events will be emitted:\n\n```javascript\n// The given event was published\nchannel.on('myevent', console.log);\n\n// Any event was published\nchannel.on('message', console.log);\n\n// Document was inserted\nchannel.on('document', console.log);\n\n// Mubsub is ready to receive new documents\nchannel.on('ready', console.log);\n\n// Connection error\nclient.on('error', console.log);\n\n// Channel error\nchannel.on('error', console.log);\n```\n\n### Close\n\n```javascript\nclient.close();\n```\n\nCloses the MongoDB connection.\n\n## Install\n\n    npm install mubsub\n\n## Tests\n\n    make test\n\nYou can optionally specify the MongoDB URI to be used for tests:\n\n    MONGODB_URI=mongodb://localhost:27017/mubsub_tests make test\n\n## Projects using mubsub\n\n- [simpleio](https://github.com/kof/simpleio) Simple long polling based communication.\n","maintainers":[{"name":"scttnlsn","email":"scottbnel@gmail.com"},{"name":"kof","email":"oleg008@gmail.com"}],"time":{"modified":"2022-06-20T12:56:27.455Z","created":"2012-04-04T13:42:49.846Z","0.0.1":"2012-04-04T13:42:50.652Z","0.0.2":"2012-06-29T14:08:33.144Z","0.1.0":"2012-07-27T22:26:47.043Z","0.1.1":"2012-07-28T19:00:41.029Z","0.1.2":"2012-08-01T19:58:05.857Z","0.1.3":"2012-08-02T18:58:28.888Z","0.2.0":"2012-08-13T14:27:20.217Z","0.2.1":"2013-05-01T20:06:10.077Z","0.2.2":"2013-05-02T15:41:02.183Z","1.0.0":"2013-05-13T21:26:25.927Z","1.0.1":"2013-05-30T00:07:29.750Z","1.0.2":"2013-08-23T16:44:43.316Z","1.0.3":"2013-08-28T18:07:39.800Z","1.0.4":"2013-09-16T14:44:05.463Z","1.1.0":"2015-10-07T13:07:34.154Z","1.1.1":"2015-11-09T21:26:14.768Z","1.1.2":"2015-11-13T22:08:29.997Z","1.2.0":"2016-04-26T15:48:51.224Z","1.3.0":"2017-01-12T16:59:47.105Z","1.4.0":"2017-03-20T13:16:29.748Z"},"author":{"name":"Scott Nelson","email":"scott@scttnlsn.com"},"repository":{"type":"git","url":"git://github.com/scttnlsn/mubsub.git"},"users":{"fgribreau":true,"simloovoo":true,"marfis":true,"hibrahimsafak":true},"homepage":"http://github.com/scttnlsn/mubsub","keywords":["mongodb","pubsub","pub","sub","capped collection"],"contributors":[{"name":"Oleg Slobodskoi","email":"oleg008@gmail.com"}],"readmeFilename":"README.md","bugs":{"url":"https://github.com/scttnlsn/mubsub/issues"},"license":"MIT"}