{"_id":"nsq-manage","_rev":"1027-06a44d722996be28b0c0757c14807e17","name":"nsq-manage","dist-tags":{"latest":"0.1.1"},"versions":{"0.0.0":{"name":"nsq-manage","version":"0.0.0","license":"MIT","_id":"nsq-manage@0.0.0","maintainers":[{"name":"segment","email":"tj@segment.io"}],"homepage":"https://github.com/segmentio/nsq-manage","bugs":{"url":"https://github.com/segmentio/nsq-manage/issues"},"dist":{"shasum":"343cf80194999dcba888a6e41014f607b2b4dc47","tarball":"https://registry.npmjs.org/nsq-manage/-/nsq-manage-0.0.0.tgz","integrity":"sha512-cM3rt+gDqrVHCqIQpdTgWSvsBogLdn8JbEPJ/SjCPfSuMVJUPP6nbj/mP7/FR1qKBxxO55FPK4RFMtjAW605iQ==","signatures":[{"sig":"MEYCIQDYKW1/r1uQYawA1EJa6cc841TnBYJ8DqfOG2b53YmnHAIhALsfMr9wFDAe27LD6WVordBNbluoJkWl4srzGko2pxlS","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","_npmUser":{"name":"segment","email":"tj@segment.io"},"repository":{"url":"git://github.com/segmentio/nsq-manage","type":"git"},"_npmVersion":"1.3.22","description":"Manage nsqd instances.","directories":{},"dependencies":{"superagent":"~0.17.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"}},"0.0.1":{"name":"nsq-manage","version":"0.0.1","license":"MIT","_id":"nsq-manage@0.0.1","maintainers":[{"name":"segment","email":"tj@segment.io"}],"homepage":"https://github.com/segmentio/nsq-manage","bugs":{"url":"https://github.com/segmentio/nsq-manage/issues"},"dist":{"shasum":"51ecaa2f13585b3a22d070b9437016de342bf8a5","tarball":"https://registry.npmjs.org/nsq-manage/-/nsq-manage-0.0.1.tgz","integrity":"sha512-SyLoHCiIXFN5wn6/ictpcaY1paediUzI3XQAUD4xGib9UG8LgwSymPuCA/JlWLUoZjLO5xTnm9d4PnHT8oBzYw==","signatures":[{"sig":"MEUCIB2gRW61bDWPMB2aUicTTiQCTYupG/Iu+XURSNWAnE3jAiEA23Bg4eFtiNCF3A4VyJW8iJtKjfEd+RbUe/P8h6U4SSs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","scripts":{"test":"make test"},"_npmUser":{"name":"segment","email":"tj@segment.io"},"repository":{"url":"git://github.com/segmentio/nsq-manage","type":"git"},"_npmVersion":"1.3.22","description":"[![Build Status](https://circleci.com/gh/segmentio/nsq-manage.png?circle-token=32f95a26531457eb2db113cff8d28fb1e3fb29e3)](https://circleci.com/gh/segmentio/nsq-manage)","directories":{},"dependencies":{"superagent":"~0.17.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"devDependencies":{"mocha":"~1.18.2"}},"0.1.0":{"name":"nsq-manage","version":"0.1.0","license":"MIT","_id":"nsq-manage@0.1.0","maintainers":[{"name":"segment","email":"tj@segment.io"}],"homepage":"https://github.com/segmentio/nsq-manage","bugs":{"url":"https://github.com/segmentio/nsq-manage/issues"},"dist":{"shasum":"2c9f5af85e716f059a1acfc7f0660a894ddb2ebb","tarball":"https://registry.npmjs.org/nsq-manage/-/nsq-manage-0.1.0.tgz","integrity":"sha512-0Zd6VG3GgiPLUiknQi0SVM7LEkj1RreHUmSaibJb8IMb53vLflEK+/cOrI2xMgcAMKL9wVGTTNVwLDp+KmDJVg==","signatures":[{"sig":"MEQCIClVyy2PCmKAPR0j/z0+aYNsdNQm9dRprIEuEX845dwVAiAxBstVf/bls/+5vhhpnvZYXKr8AMnmcr3nHK1XqthnMA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","scripts":{"test":"make test"},"_npmUser":{"name":"segment","email":"tj@segment.io"},"repository":{"url":"git://github.com/segmentio/nsq-manage","type":"git"},"_npmVersion":"1.3.22","description":"[![Build Status](https://circleci.com/gh/segmentio/nsq-manage.png?circle-token=32f95a26531457eb2db113cff8d28fb1e3fb29e3)](https://circleci.com/gh/segmentio/nsq-manage)","directories":{},"dependencies":{"superagent":"~0.17.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"devDependencies":{"mocha":"~1.18.2"}},"0.1.1":{"name":"nsq-manage","version":"0.1.1","license":"MIT","_id":"nsq-manage@0.1.1","maintainers":[{"name":"segment","email":"tj@segment.io"}],"homepage":"https://github.com/segmentio/nsq-manage","bugs":{"url":"https://github.com/segmentio/nsq-manage/issues"},"dist":{"shasum":"521a88c1641ac1931af1a906d7347d1fb8602411","tarball":"https://registry.npmjs.org/nsq-manage/-/nsq-manage-0.1.1.tgz","integrity":"sha512-M0++I+eNCEWtQjb/qS2yBHJKUCkPNEE2YHXcpx7mgS+8p6L0oRbew3TfCTneN+eiUUZ4RHqu2KcgmomA2HxD8g==","signatures":[{"sig":"MEUCIQC4uK7pjzFZiWA+x/8I+6UBskF9q/2dTaJLEzY+lxIRsgIgK2MsPmmQdDO2OSoJs6WzUpUZmM4TFYCQmPZ05VvodwA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","scripts":{"test":"make test"},"_npmUser":{"name":"segment","email":"tj@segment.io"},"repository":{"url":"git://github.com/segmentio/nsq-manage","type":"git"},"_npmVersion":"1.3.22","description":"Manage nsqd instances","directories":{},"dependencies":{"superagent":"~0.17.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"devDependencies":{"mocha":"~1.18.2"}}},"time":{"created":"2014-04-01T23:36:05.778Z","modified":"2026-06-11T22:37:48.283Z","0.0.0":"2014-04-01T23:36:05.778Z","0.0.1":"2014-04-01T23:45:12.364Z","0.1.0":"2014-04-02T00:26:58.807Z","0.1.1":"2014-04-02T00:27:50.450Z"},"bugs":{"url":"https://github.com/segmentio/nsq-manage/issues"},"license":"MIT","homepage":"https://github.com/segmentio/nsq-manage","repository":{"url":"git://github.com/segmentio/nsq-manage","type":"git"},"description":"Manage nsqd instances","maintainers":[{"email":"secure-supply-chain@twilio.com","name":"twilio-supply-chain"},{"email":"tools@segment.com","name":"segmentio"},{"email":"tools+npm@segment.com","name":"segment-admin"}],"readme":"[![Build Status](https://circleci.com/gh/segmentio/nsq-manage.png?circle-token=32f95a26531457eb2db113cff8d28fb1e3fb29e3)](https://circleci.com/gh/segmentio/nsq-manage)\n\n# nsq-manage\n\n  Manage nsqd instances. Basically a lightweight wrapper about nsqd's http api.\n\n## Installation\n\n```bash\n$ npm install nsq-manage\n```\n\n## Example\n\n```bash\nvar manage = require('nsq-manage')('http://localhost:4151');\n\nmanage.createTopic('name', function(err){\n  // ...\n});\n```\n\n## API\n\n### Manage(nsqd)\n\n  Create a management instance with the `nsqd` http address.\n\n### #createTopic(topic, fn)\n\n  Create `topic`.\n\n### #deleteTopic(topic, fn)\n\n  Delete `topic`.\n\n### #createChannel(topic, channel, fn)\n\n  Create `channel` for an existing `topic`.\n\n### #deleteChannel(topic, channel, fn)\n\n  Delete `channel` for an existing `topic`.\n\n### #emptyChannel(topic, channel, fn)\n\n  Empty `channel` for an existing `topic`.\n\n### #pauseChannel(topic, channel, fn)\n\n  Pause `channel` for an existing `topic`.\n\n### #unpauseChannel(topic, channel, fn)\n\n  Unpause `channel` for an existing `topic`.\n\n### #stats(fn)\n\n  Get internal instrumented statistics.\n\n### #ping(fn)\n\n  Check health.\n\n## License\n\n  MIT\n\n","readmeFilename":"README.md"}