{"_id":"socket.io-emitter","_rev":"28-e0b27c2aa9a34a5dd9ec1ea496bd885d","name":"socket.io-emitter","description":"[![Build Status](https://github.com/socketio/socket.io-emitter/workflows/CI/badge.svg)](https://github.com/socketio/socket.io-emitter/actions) [![NPM version](https://badge.fury.io/js/socket.io-emitter.svg)](http://badge.fury.io/js/socket.io-emitter)","dist-tags":{"latest":"3.2.0"},"versions":{"0.1.0":{"name":"socket.io-emitter","version":"0.1.0","description":"`socket.io-emitter` allows you to communicate with socket.io servers easily from non-socket.io processes.","dependencies":{"debug":"0.7.4","redis":"0.10.1","msgpack-js":"0.3.0","has-binary-data":"0.1.0","socket.io-parser":"2.1.1"},"_id":"socket.io-emitter@0.1.0","dist":{"shasum":"599c553af303b777cb9566293e477693570a559c","tarball":"https://registry.npmjs.org/socket.io-emitter/-/socket.io-emitter-0.1.0.tgz","integrity":"sha512-1cTrcnQnKZF0ZY34k3EKPzHta1gpchpf1gBu+U8H23RTuuwvdd+wJ1PKg/8ku+9LRBQPeKJWacrwCWzP3DR4Bg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDNwO7W8x+w10bE+u/cwvMdStaYlCOcMP9xnOGjWI8tyAIhAMGA3v4jslXBJolVi2y1CUhf7iU5HNF6ONHpqPCpivfS"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"rauchg","email":"rauchg@gmail.com"},"maintainers":[{"name":"rauchg","email":"rauchg@gmail.com"}],"directories":{}},"0.2.0":{"name":"socket.io-emitter","version":"0.2.0","description":"`socket.io-emitter` allows you to communicate with socket.io servers easily from non-socket.io processes.","dependencies":{"debug":"0.7.4","redis":"0.10.1","msgpack-js":"0.3.0","has-binary-data":"0.1.1","socket.io-parser":"2.2.0"},"devDependencies":{"mocha":"1.18.1","expect.js":"0.3.1","socket.io":"1.0.4","socket.io-client":"1.0.4","socket.io-redis":"0.1.3","redis":"0.10.1"},"gitHead":"ebbc274341c8539016f7a0ded02c05d8a298e744","_id":"socket.io-emitter@0.2.0","scripts":{},"_shasum":"6da7f6d49d5eb49fc796265e9eb42f84244e9d3f","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"rauchg","email":"rauchg@gmail.com"},"maintainers":[{"name":"rauchg","email":"rauchg@gmail.com"}],"dist":{"shasum":"6da7f6d49d5eb49fc796265e9eb42f84244e9d3f","tarball":"https://registry.npmjs.org/socket.io-emitter/-/socket.io-emitter-0.2.0.tgz","integrity":"sha512-tbWoElUfdGE+9Y+WHrNArPmsJlhrIsdJOeU8mASDiJo06Yzk1B/CS4rw48NsGSFn2sxfQoBPhNO8O/RXOyJwXQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICYMRfoFYb3AJM93NXPuMQAfg1nL7g1bUoE8NvQkeCuTAiAO5vSpWtMibQr3qtBOMLNy4uJVrYhlfw6CVo0ovtuKOQ=="}]},"directories":{}},"0.3.0":{"name":"socket.io-emitter","version":"0.3.0","description":"[![Build Status](https://travis-ci.org/socketio/socket.io-emitter.svg?branch=master)](https://travis-ci.org/socketio/socket.io-emitter) [![NPM version](https://badge.fury.io/js/socket.io-emitter.svg)](http://badge.fury.io/js/socket.io-emitter)","repository":{"type":"git","url":"git+https://github.com/socketio/socket.io-emitter.git"},"scripts":{"test":"make test"},"dependencies":{"debug":"2.2.0","redis":"2.4.2","msgpack-js":"0.3.0","has-binary-data":"0.1.5","socket.io-parser":"2.2.6"},"devDependencies":{"mocha":"2.3.4","expect.js":"0.3.1","socket.io":"1.3.7","socket.io-client":"1.3.7","socket.io-redis":"0.2.0"},"gitHead":"5e26420d3e41fb3acf02d4217adf9a6c6f097f6d","bugs":{"url":"https://github.com/socketio/socket.io-emitter/issues"},"homepage":"https://github.com/socketio/socket.io-emitter#readme","_id":"socket.io-emitter@0.3.0","_shasum":"6018ee31c3b8a886729e4d2f1ce13b8635e5b218","_from":".","_npmVersion":"3.4.1","_nodeVersion":"4.2.2","_npmUser":{"name":"rauchg","email":"rauchg@gmail.com"},"maintainers":[{"name":"rauchg","email":"rauchg@gmail.com"}],"dist":{"shasum":"6018ee31c3b8a886729e4d2f1ce13b8635e5b218","tarball":"https://registry.npmjs.org/socket.io-emitter/-/socket.io-emitter-0.3.0.tgz","integrity":"sha512-Cp7JxTHWj/+RS1+yT5080j/jaU9EQ68631xhwQ+SwSn8clC6MULBRSlXQXCgSuhJZLMeCEXwEqM01WIHV/QQxw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAjxFjDiDAtXncu7K5/qpiTC1Hck/WfWZNwU7A6P1lxWAiEAkNcKhNz7YIbE73tihLTltzXF7NRxmQ6N5A373aM1TnQ="}]},"directories":{}},"1.0.0":{"name":"socket.io-emitter","version":"1.0.0","description":"[![Build Status](https://travis-ci.org/socketio/socket.io-emitter.svg?branch=master)](https://travis-ci.org/socketio/socket.io-emitter) [![NPM version](https://badge.fury.io/js/socket.io-emitter.svg)](http://badge.fury.io/js/socket.io-emitter)","repository":{"type":"git","url":"git+https://github.com/socketio/socket.io-emitter.git"},"scripts":{"test":"make test"},"dependencies":{"debug":"2.2.0","redis":"2.4.2","msgpack-js":"0.3.0","has-binary":"0.1.7","socket.io-parser":"2.2.6"},"devDependencies":{"mocha":"2.3.4","expect.js":"0.3.1","socket.io":"1.3.7","socket.io-client":"1.3.7","socket.io-redis":"0.2.0"},"gitHead":"b1d5f3957d82d788d2f26f32d134a7a7d87ce880","bugs":{"url":"https://github.com/socketio/socket.io-emitter/issues"},"homepage":"https://github.com/socketio/socket.io-emitter#readme","_id":"socket.io-emitter@1.0.0","_shasum":"32ce255b49873cb38b3a4a1c12e2249b2d795379","_from":".","_npmVersion":"3.4.1","_nodeVersion":"4.2.2","_npmUser":{"name":"rauchg","email":"rauchg@gmail.com"},"maintainers":[{"name":"rauchg","email":"rauchg@gmail.com"}],"dist":{"shasum":"32ce255b49873cb38b3a4a1c12e2249b2d795379","tarball":"https://registry.npmjs.org/socket.io-emitter/-/socket.io-emitter-1.0.0.tgz","integrity":"sha512-2vhbyGtaCwcW1oWzhiinesgRg4L2WkdnMhE08jy3N2QUF4HLyZMGEas8lxZNQHqES165S+zFbBtoVldQlivLHg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDJW+0uftFbYo1NDHS/OZWJD0YRmTCC0gK0HQdb2om90gIgIeMYvfd+BI7/awOO08PrIL6wbSDX2BxY9UOg/iHa3d0="}]},"directories":{}},"1.1.0":{"name":"socket.io-emitter","version":"1.1.0","description":"[![Build Status](https://travis-ci.org/socketio/socket.io-emitter.svg?branch=master)](https://travis-ci.org/socketio/socket.io-emitter) [![NPM version](https://badge.fury.io/js/socket.io-emitter.svg)](http://badge.fury.io/js/socket.io-emitter)","repository":{"type":"git","url":"git+https://github.com/socketio/socket.io-emitter.git"},"scripts":{"test":"make test"},"dependencies":{"debug":"2.2.0","redis":"2.4.2","msgpack-js":"0.3.0","has-binary":"0.1.7","socket.io-parser":"2.2.6"},"devDependencies":{"mocha":"2.3.4","expect.js":"0.3.1","socket.io":"1.3.7","socket.io-client":"1.3.7","socket.io-redis":"0.2.0"},"gitHead":"27622db98ce76eefd3944095cbaf5d42cb86863c","bugs":{"url":"https://github.com/socketio/socket.io-emitter/issues"},"homepage":"https://github.com/socketio/socket.io-emitter#readme","_id":"socket.io-emitter@1.1.0","_shasum":"ae1e1ef84ee19c590842c3e281ccdb6cfd1c149d","_from":".","_npmVersion":"4.0.3","_nodeVersion":"6.9.1","_npmUser":{"name":"darrachequesne","email":"damien.arrachequesne@gmail.com"},"dist":{"shasum":"ae1e1ef84ee19c590842c3e281ccdb6cfd1c149d","tarball":"https://registry.npmjs.org/socket.io-emitter/-/socket.io-emitter-1.1.0.tgz","integrity":"sha512-583pFWJ00t9OY9plDoLLGWuUn2Y+skbEdeFb7JgKdywQteq8O4x+6sh8n3zjbL7YcxOvNH9znKjkLfeXvtiShA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCHqRH83TTFG+nn0Fslh1ngFf+EHd/urpA0T4x1VaV7YgIgTpx4bi320Cxo7lg45Rsg4GLA7LDAYG2y5r4HFxhFS38="}]},"maintainers":[{"name":"darrachequesne","email":"damien.arrachequesne@gmail.com"},{"name":"rauchg","email":"rauchg@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/socket.io-emitter-1.1.0.tgz_1484212484288_0.22863206616602838"},"directories":{}},"2.0.0":{"name":"socket.io-emitter","version":"2.0.0","description":"[![Build Status](https://travis-ci.org/socketio/socket.io-emitter.svg?branch=master)](https://travis-ci.org/socketio/socket.io-emitter) [![NPM version](https://badge.fury.io/js/socket.io-emitter.svg)](http://badge.fury.io/js/socket.io-emitter)","license":"MIT","repository":{"type":"git","url":"git+https://github.com/socketio/socket.io-emitter.git"},"scripts":{"test":"make test"},"dependencies":{"debug":"2.3.3","redis":"2.6.3","msgpack-lite":"0.1.26","has-binary":"0.1.7","socket.io-parser":"2.3.2"},"devDependencies":{"mocha":"~3.2.0","expect.js":"~0.3.1","socket.io":"~1.7.2","socket.io-client":"~1.7.2","socket.io-redis":"~3.0.0"},"gitHead":"8a1f38b1578c403a8c003d7df376b3ea5b9ce951","bugs":{"url":"https://github.com/socketio/socket.io-emitter/issues"},"homepage":"https://github.com/socketio/socket.io-emitter#readme","_id":"socket.io-emitter@2.0.0","_shasum":"e77e5091e4633bd0426f0bdbbb840d3259b45b20","_from":".","_npmVersion":"4.0.3","_nodeVersion":"6.9.1","_npmUser":{"name":"darrachequesne","email":"damien.arrachequesne@gmail.com"},"dist":{"shasum":"e77e5091e4633bd0426f0bdbbb840d3259b45b20","tarball":"https://registry.npmjs.org/socket.io-emitter/-/socket.io-emitter-2.0.0.tgz","integrity":"sha512-ohECH+r/hwSf2syCF2ZH0nSBPslon+KtB5d08aATXmZ3R4haW+rBWsq+fafbm13U5392PvTlBGSNnA2ZUV+/wQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID56bnS0WhcByHtYU42+nomTjXYt20dq9vfL3MUf0sF2AiEA8kROx8ZxceehwGejyvJa4lO4zN4IUva8XBmH2kyif5o="}]},"maintainers":[{"name":"darrachequesne","email":"damien.arrachequesne@gmail.com"},{"name":"rauchg","email":"rauchg@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/socket.io-emitter-2.0.0.tgz_1484215692792_0.955327347619459"},"directories":{}},"3.0.0":{"name":"socket.io-emitter","version":"3.0.0","description":"[![Build Status](https://travis-ci.org/socketio/socket.io-emitter.svg?branch=master)](https://travis-ci.org/socketio/socket.io-emitter) [![NPM version](https://badge.fury.io/js/socket.io-emitter.svg)](http://badge.fury.io/js/socket.io-emitter)","license":"MIT","repository":{"type":"git","url":"git+https://github.com/socketio/socket.io-emitter.git"},"scripts":{"test":"make test"},"dependencies":{"debug":"2.3.3","redis":"2.6.3","notepack.io":"~1.0.1","socket.io-parser":"2.3.2"},"devDependencies":{"mocha":"~3.2.0","expect.js":"~0.3.1","socket.io":"~2.0.1","socket.io-client":"~2.0.1","socket.io-redis":"~5.0.0"},"gitHead":"2adcdb2eb6d8b2cd886d1d7b90ff1ec1b5352f41","bugs":{"url":"https://github.com/socketio/socket.io-emitter/issues"},"homepage":"https://github.com/socketio/socket.io-emitter#readme","_id":"socket.io-emitter@3.0.0","_shasum":"e1ac5f4cf33892221b645c2285c3844c019931f6","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.4","_npmUser":{"name":"darrachequesne","email":"damien.arrachequesne@gmail.com"},"dist":{"shasum":"e1ac5f4cf33892221b645c2285c3844c019931f6","tarball":"https://registry.npmjs.org/socket.io-emitter/-/socket.io-emitter-3.0.0.tgz","integrity":"sha512-v/KLDLIaURRAHgocmy7uuUEj7i1efH/4Px9oCUpGSfLGTWxifqNs00FtVmdyPsrsOJUNwZlzCdXnIvYjJ+By5A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFU1M2Z3+AZS9FW3SFGYm6bToIOsoR43wkP/wFlvB7paAiEAp0keY1oPf28RK9oCdzjgb59qNPyXmIwbI98e7+YGUHY="}]},"maintainers":[{"name":"darrachequesne","email":"damien.arrachequesne@gmail.com"},{"name":"rauchg","email":"rauchg@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/socket.io-emitter-3.0.0.tgz_1494657031564_0.8548688369337469"},"directories":{}},"3.0.1":{"name":"socket.io-emitter","version":"3.0.1","description":"[![Build Status](https://travis-ci.org/socketio/socket.io-emitter.svg?branch=master)](https://travis-ci.org/socketio/socket.io-emitter) [![NPM version](https://badge.fury.io/js/socket.io-emitter.svg)](http://badge.fury.io/js/socket.io-emitter)","license":"MIT","repository":{"type":"git","url":"git+https://github.com/socketio/socket.io-emitter.git"},"files":["index.js"],"scripts":{"test":"make test"},"dependencies":{"debug":"2.3.3","redis":"2.6.3","notepack.io":"~1.0.1","socket.io-parser":"2.3.2"},"devDependencies":{"mocha":"~3.2.0","expect.js":"~0.3.1","socket.io":"~2.0.1","socket.io-client":"~2.0.1","socket.io-redis":"~5.0.0"},"gitHead":"254cca531fc6fd31aad8da8ff7a8474e9edc2b05","bugs":{"url":"https://github.com/socketio/socket.io-emitter/issues"},"homepage":"https://github.com/socketio/socket.io-emitter#readme","_id":"socket.io-emitter@3.0.1","_shasum":"32b535ee207f993b9699c7ecaed0b600f99fecd6","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.4","_npmUser":{"name":"darrachequesne","email":"damien.arrachequesne@gmail.com"},"dist":{"shasum":"32b535ee207f993b9699c7ecaed0b600f99fecd6","tarball":"https://registry.npmjs.org/socket.io-emitter/-/socket.io-emitter-3.0.1.tgz","integrity":"sha512-mMec1Tw7O/ixFKDFQtLQLiFpyMn7XENfO+DBjWUd/2y8QtI07nO73ZQBLnpL3oWTuTy9MD16s7OjlV1j0wuoeQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC97kbAPF0Vs2uA/ZbyEAhBvCZuj3vNFplBNLA+4UO0hAIhAIAWMjgBcUinG4+SFSdH1GqNSa7knjGWkYIGajOjax8z"}]},"maintainers":[{"name":"darrachequesne","email":"damien.arrachequesne@gmail.com"},{"name":"rauchg","email":"rauchg@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/socket.io-emitter-3.0.1.tgz_1494657638872_0.49528894224204123"},"directories":{}},"3.1.0":{"name":"socket.io-emitter","version":"3.1.0","description":"[![Build Status](https://travis-ci.org/socketio/socket.io-emitter.svg?branch=master)](https://travis-ci.org/socketio/socket.io-emitter) [![NPM version](https://badge.fury.io/js/socket.io-emitter.svg)](http://badge.fury.io/js/socket.io-emitter)","license":"MIT","repository":{"type":"git","url":"git+https://github.com/socketio/socket.io-emitter.git"},"files":["index.js"],"scripts":{"test":"make test"},"dependencies":{"debug":"~2.6.4","notepack.io":"~2.1.0","redis":"2.6.3","socket.io-parser":"2.3.2"},"devDependencies":{"mocha":"~3.2.0","expect.js":"~0.3.1","socket.io":"~2.0.1","socket.io-client":"~2.0.1","socket.io-redis":"^5.1.0"},"gitHead":"dfd14b683a48f3eb0b73c7d2cb477198098884e1","bugs":{"url":"https://github.com/socketio/socket.io-emitter/issues"},"homepage":"https://github.com/socketio/socket.io-emitter#readme","_id":"socket.io-emitter@3.1.0","_shasum":"bf33f2f3818999a98aea9a72361525a4a3918249","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.3","_npmUser":{"name":"darrachequesne","email":"damien.arrachequesne@gmail.com"},"dist":{"shasum":"bf33f2f3818999a98aea9a72361525a4a3918249","tarball":"https://registry.npmjs.org/socket.io-emitter/-/socket.io-emitter-3.1.0.tgz","integrity":"sha512-Qd9Y0p8tLhOGvU3EDxcx7tCYa/k13t+7xsZITb6Uud18tYWyn2vk3H3VDsQSt9LiHKAv8hQW/RvChRwtZ3icEA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCMfVW/9B6SVFgT0hC0rPjCyiT0O2DaCPCZF8ZZfrhYEQIhAJZOG86rXDUq5HG4maMVRZD/ibgmqPhlQLTilGNfZ8kc"}]},"maintainers":[{"name":"darrachequesne","email":"damien.arrachequesne@gmail.com"},{"name":"rauchg","email":"rauchg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/socket.io-emitter-3.1.0.tgz_1501743080470_0.4967744175810367"},"directories":{}},"3.1.1":{"name":"socket.io-emitter","version":"3.1.1","description":"[![Build Status](https://travis-ci.org/socketio/socket.io-emitter.svg?branch=master)](https://travis-ci.org/socketio/socket.io-emitter) [![NPM version](https://badge.fury.io/js/socket.io-emitter.svg)](http://badge.fury.io/js/socket.io-emitter)","license":"MIT","repository":{"type":"git","url":"git+https://github.com/socketio/socket.io-emitter.git"},"files":["index.js"],"scripts":{"test":"make test"},"dependencies":{"debug":"~3.1.0","notepack.io":"~2.1.0","redis":"2.6.3","socket.io-parser":"3.1.2"},"devDependencies":{"mocha":"~3.2.0","expect.js":"~0.3.1","socket.io":"~2.0.1","socket.io-client":"~2.0.1","socket.io-redis":"^5.1.0"},"gitHead":"51cf5638fff683bf5270becc4fa2cfde768db71c","bugs":{"url":"https://github.com/socketio/socket.io-emitter/issues"},"homepage":"https://github.com/socketio/socket.io-emitter#readme","_id":"socket.io-emitter@3.1.1","_shasum":"b05f82006e69bc3eb7428794cac3bbcd4baa0cc7","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.3","_npmUser":{"name":"darrachequesne","email":"damien.arrachequesne@gmail.com"},"dist":{"shasum":"b05f82006e69bc3eb7428794cac3bbcd4baa0cc7","tarball":"https://registry.npmjs.org/socket.io-emitter/-/socket.io-emitter-3.1.1.tgz","integrity":"sha512-ALi7kAvbyyHPWN6fXn3wAHZvN2ZN5nAYMV1HjbToIKa5pnzGApQ3NepKH9BYEMeXns/sl3Nxm9g698ZBmmEfOg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHMCVfaFDNk5Sp7nShAhrupTpAnMyc+sa/uApAI9WrCMAiBocxC9tghfT22f5Sd7fv9nbM5hv25wyUy9f/0SHe+XVg=="}]},"maintainers":[{"name":"darrachequesne","email":"damien.arrachequesne@gmail.com"},{"name":"rauchg","email":"rauchg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/socket.io-emitter-3.1.1.tgz_1507788190996_0.21149072237312794"},"directories":{}},"3.2.0":{"name":"socket.io-emitter","version":"3.2.0","description":"[![Build Status](https://github.com/socketio/socket.io-emitter/workflows/CI/badge.svg)](https://github.com/socketio/socket.io-emitter/actions) [![NPM version](https://badge.fury.io/js/socket.io-emitter.svg)](http://badge.fury.io/js/socket.io-emitter)","license":"MIT","repository":{"type":"git","url":"git+https://github.com/socketio/socket.io-emitter.git"},"scripts":{"test":"mocha --reporter spec --slow 200 --timeout 5000 --bail"},"dependencies":{"debug":"~4.1.0","notepack.io":"~2.1.0","redis":"2.6.3","socket.io-parser":"3.1.2"},"devDependencies":{"expect.js":"~0.3.1","mocha":"~3.2.0","socket.io":"^3.0.4","socket.io-client":"^3.0.4","socket.io-redis":"^6.0.1"},"gitHead":"b38dfcf9b46ab1538fc96250a345eca38a4ccdf9","bugs":{"url":"https://github.com/socketio/socket.io-emitter/issues"},"homepage":"https://github.com/socketio/socket.io-emitter#readme","_id":"socket.io-emitter@3.2.0","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-mODyeT/7yB72pSbQWD1Nq7fKuwq2BvHq4bCTx+c1fzCNqjJ3cyaoaSR2eqBo+B3FEF/Aw3LHhZfzAgy3gH6ZnQ==","shasum":"7cda562073c52ace4246cedec13cd5203af99fa1","tarball":"https://registry.npmjs.org/socket.io-emitter/-/socket.io-emitter-3.2.0.tgz","fileCount":5,"unpackedSize":10198,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf6vmBCRA9TVsSAnZWagAA3kUP/3FMEq9o7666tzNH/Tlr\nTmeaapcTf9WZhKwU9mnuVFporfu+n7mUJRvYCGmeBwGjBYfz3LYxxOeYpavT\nSAEz4RIvRBiZUOzvUQT6EHJuVlh95Ylgy7yMimwruKyMi6drC0l2xnKgza7U\nFEUf1UH8PtNlM+AE7/BniwkoXOFUM7lKMjO0SSCUN82CNR+0bDP6O/ooOprs\nLsTZQ7LCcVLL745RNqBMD60aiYSEGIXIg1b3pX6g6s7uBVGdT1X5c7Jl5bDC\nmHOeVNkqJ/42uXzNIx3SN/1iQ+dKRd5/MUfM/zTW4NV4AmUZFdRlQZRo/3Qz\n8TxcTtvi4HsVcqIHGtMGyPKthf/32jd5zsv8PmThv4NnrpFiw2jM1ZS0lVMT\n/2yP/uCVjl7yT8y5fQavqayb473YOG06Kd5x2gFj3mSZ8rlXK2syX7P8bTBD\nIXvaRMxvd8XiI1fG/qv7xLlqhAQqkTs9zFPi17OOwhTbZ8nrtDFi4gCqwvC2\nTIH4R6aY8qc6IzRX9Fh6xnrLlNL2H5ugU8gfQWy8ZU9nAZuNVqOmDPQuZBMj\nVZmhTyDgRR07yAs7GaJhCBvuI5Mj3Ynv368SNcY9n8x3U1X0MjVGFFty1HlQ\n++7HFqr688T7StZ+QUkT9F6grACPY4hMhHvdCPtdgs2HNVt4cTA4wTs8rm+h\nJ8Yr\r\n=AGt/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAHVX54NyKH7pmGKLGqAVl60N8M8/PnaQJYYeXXSY3o9AiBTJpnYnMWT3HcT+ewKEe6BW4eVAmQU1PwnmysadLxQjA=="}]},"_npmUser":{"name":"darrachequesne","email":"damien.arrachequesne@gmail.com"},"directories":{},"maintainers":[{"name":"rauchg","email":"rauchg@gmail.com"},{"name":"darrachequesne","email":"damien.arrachequesne@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/socket.io-emitter_3.2.0_1609234816951_0.15860057885501444"},"_hasShrinkwrap":false},"3.1.2":{"name":"socket.io-emitter","version":"3.1.2","description":"[![Build Status](https://github.com/socketio/socket.io-emitter/workflows/CI/badge.svg)](https://github.com/socketio/socket.io-emitter/actions) [![NPM version](https://badge.fury.io/js/socket.io-emitter.svg)](http://badge.fury.io/js/socket.io-emitter)","license":"MIT","repository":{"type":"git","url":"git+https://github.com/socketio/socket.io-emitter.git"},"scripts":{"test":"mocha --reporter spec --slow 200 --timeout 5000 --bail"},"dependencies":{"debug":"~4.1.0","has-binary2":"~1.0.2","notepack.io":"~2.1.0","redis":"2.6.3","socket.io-parser":"3.1.2"},"devDependencies":{"expect.js":"~0.3.1","mocha":"~3.2.0","socket.io":"^2.3.0","socket.io-client":"^2.3.1","socket.io-redis":"^5.4.0"},"gitHead":"001387a4d04da1d2abe06e403a02367d35c2ba23","bugs":{"url":"https://github.com/socketio/socket.io-emitter/issues"},"homepage":"https://github.com/socketio/socket.io-emitter#readme","_id":"socket.io-emitter@3.1.2","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-tlFzzUrZCGLUSZ6y6lhftRVm2bCb3QzAhOIyXDEy64BUewYCez1q5kUz1kWejRCcD9WI2FPx7P4Q98z9e3qcbw==","shasum":"eff37c1fcf7b289fe4f8015d5b0c547da3617c24","tarball":"https://registry.npmjs.org/socket.io-emitter/-/socket.io-emitter-3.1.2.tgz","fileCount":5,"unpackedSize":9187,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf6vwOCRA9TVsSAnZWagAAVacQAIcODJEb/gEO/SmpJdAN\nzcqQsp0tS1PWZCR1y0OkP+czvoRBMxbmRiJ4J5q9OcTIZDASV6HemGq2CvPY\nn0+6PW8IR2kxq8LSeE5aSSnzHXdBesI9rF5ae+lb6INRFA7fPQT3AsRYCIZ0\nsTnuakG+MEhzDH45TZfW9ygsn+O87u1IP7T92jlvw7MkrX0+71uEg+yEuHU+\nYj7WeJ0aNimFp4/hgPIf0lzOqALyTtGEJNVuyvtNT6ElM88PqnPABDRQz1dN\nuQthTqgEFZOBp9czgig1WrPxR89k1Z/z32apZf+pM1P1afh557O9loMStqaw\nmvCeiY0GzDVxOWPRpEUqHuANZbvJW5JZk4HoR8IND7EJapWrM0bpG4WQHC4r\nk74vHjkjgmUovC7w3IBRpvEBa1V+kZtC9mcyhVM+JdpjCquOgPC+tS4YFd/B\nejl4/Xzp9yQUREDS6Y891mmVl35TKuRWc0K8kSQGUEl3etej97xf8IWLHpiN\nP3UY0NTT0mhjILnLYKS4AVpwRegVFuaECGzRJBxai5vJDZy8ez7k6wvv4NPh\nBMQ97gvQr0YL+XRLTjSft5XGOmoNAumXvMR31MVPBJej4Pj9TG/GjWxrKGMW\nG84MWMhcKLZ4uW8mlSzFD5Nc7LwD8qaXxfFZOVE04DkiYXTBwcU3WOqUXrRL\nYsMG\r\n=R7i/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA4xXGuhEQZQ+wCTihzXLk84IaKkCS5Ks1AyR8wNv6TvAiEA1bHFGj6kXy2++cg52sfz88ao0Uby2b/48WeXam9WXoI="}]},"_npmUser":{"name":"darrachequesne","email":"damien.arrachequesne@gmail.com"},"directories":{},"maintainers":[{"name":"rauchg","email":"rauchg@gmail.com"},{"name":"darrachequesne","email":"damien.arrachequesne@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/socket.io-emitter_3.1.2_1609235470592_0.5076292360481531"},"_hasShrinkwrap":false}},"readme":"\n# socket.io-emitter\n\n[![Build Status](https://github.com/socketio/socket.io-emitter/workflows/CI/badge.svg)](https://github.com/socketio/socket.io-emitter/actions)\n[![NPM version](https://badge.fury.io/js/socket.io-emitter.svg)](http://badge.fury.io/js/socket.io-emitter)\n\n`socket.io-emitter` allows you to communicate with Socket.IO servers\neasily from another Node.js process (server side).\n\n![Emitter diagram](./assets/emitter.png)\n\nThe emitter is also available in other programming languages:\n\n- Java: https://github.com/sunsus/socket.io-java-emitter\n- Python: https://pypi.org/project/socket.io-emitter/\n- PHP: https://github.com/rase-/socket.io-php-emitter\n- Golang: https://github.com/yosuke-furukawa/socket.io-go-emitter\n- Perl: https://metacpan.org/pod/SocketIO::Emitter\n- Rust: https://github.com/epli2/socketio-rust-emitter\n\nIt must be used in conjunction with [socket.io-redis](https://github.com/socketio/socket.io-redis/).\n\nThe current version is compatible with both:\n\n- `socket.io-redis@5` (`socket.io@2`)\n- `socket.io-redis@6` (`socket.io@3`)\n\n## Table of content\n\n- [How to use](#how-to-use)\n- [Examples](#examples)\n- [Error handling](#error-handling)\n- [API](#api)\n  - [Emitter(client[, opts])](#emitterclient-opts)\n  - [Emitter(clientUri[, opts])](#emitterclienturi-opts)\n  - [Emitter(opts)](#emitteropts)\n  - [Emitter#to(room:String):Emitter](#emittertoroomstringemitter)\n  - [Emitter#in(room:String):Emitter](#emitterinroomstringemitter)\n  - [Emitter#of(namespace:String):Emitter](#emitterofnamespacestringemitter)\n- [License](#license)\n\n## How to use\n\n```js\nconst io = require('socket.io-emitter')({ host: '127.0.0.1', port: 6379 });\nsetInterval(() => {\n  io.emit('time', new Date);\n}, 5000);\n```\n```js\n// Different constructor options.\n\n//1. Initialize with host:port string\nconst io = require('socket.io-emitter')(\"localhost:6379\")\n// 2. Initlize with host, port object.\nconst io = require('socket.io-emitter')({ host: '127.0.0.1', port: 6379 });\n// 3. Can use other node_redis compatible client eg; ioredis.\n\nconst Redis = require(\"ioredis\");\nconst redis = new Redis();\nconst io = require('socket.io-emitter')(redis);\n\n// Make the emitter works with redis clustered environment.\nconst Cluster = new Redis.Cluster([\n    {\n        host: \"localhost\",\n        port: 6379\n    },\n    {\n        host: \"localhost\",\n        port: 6378\n    },\n]);\nconst io = require('socket.io-emitter')(Cluster);\n\n```\n\n## Examples\n\n```js\nconst io = require('socket.io-emitter')({ host: '127.0.0.1', port: 6379 });\n\n// sending to all clients\nio.emit('broadcast', /* ... */);\n\n// sending to all clients in 'game' room\nio.to('game').emit('new-game', /* ... */);\n\n// sending to individual socketid (private message)\nio.to(socketId).emit('private', /* ... */);\n\nconst nsp = io.of('/admin');\n\n// sending to all clients in 'admin' namespace\nnsp.emit('namespace', /* ... */);\n\n// sending to all clients in 'admin' namespace and in 'notifications' room\nnsp.to('notifications').emit('namespace', /* ... */);\n```\n\n**Note:** acknowledgements are not supported\n\n## Error handling\n\nAccess the `redis` to subscribe to its `error` event:\n\n```js\nconst emitter = require('socket.io-emitter')(\"localhost:6379\");\n\nemitter.redis.on('error', (err) => {\n  console.log(err);\n});\n```\n\n## API\n\n### Emitter(client[, opts])\n\n`client` is a [node_redis](https://github.com/mranney/node_redis)\ncompatible client that has been initialized with the `return_buffers`\noption set to `true`. This argument is optional.\n\nThe following options are allowed:\n\n- `key`: the name of the key to pub/sub events on as prefix (`socket.io`)\n- `host`: host to connect to redis on (`localhost`)\n- `port`: port to connect to redis on (`6379`)\n- `socket`: unix domain socket to connect to redis on (`\"/tmp/redis.sock\"`)\n\n### Emitter(clientUri[, opts])\n\nSame as above, but `clientUri` is a string of the format `host:port`\nto connect to redis to.\n\n### Emitter(opts)\n\nIf you don't want to supply a redis client object, and want\n`socket.io-emitter` to intiialize one for you, make sure to supply the\n`host` and `port` options.\n\n### Emitter#to(room:String):Emitter\n### Emitter#in(room:String):Emitter\n\nSpecifies a specific `room` that you want to emit to.\n\n\n### Emitter#of(namespace:String):Emitter\n\nSpecifies a specific namespace that you want to emit to.\n\n## License\n\nMIT\n","maintainers":[{"name":"rauchg","email":"rauchg@gmail.com"},{"name":"darrachequesne","email":"damien.arrachequesne@gmail.com"}],"time":{"modified":"2022-06-26T21:54:58.347Z","created":"2014-03-12T20:45:27.538Z","0.1.0":"2014-03-12T20:45:27.538Z","0.2.0":"2014-06-07T18:50:27.831Z","0.3.0":"2015-12-09T20:35:59.490Z","1.0.0":"2015-12-12T05:37:50.685Z","1.1.0":"2017-01-12T09:14:44.954Z","2.0.0":"2017-01-12T10:08:14.822Z","3.0.0":"2017-05-13T06:30:33.310Z","3.0.1":"2017-05-13T06:40:40.781Z","3.1.0":"2017-08-03T06:51:21.330Z","3.1.1":"2017-10-12T06:03:11.882Z","3.2.0":"2020-12-29T09:40:17.065Z","3.1.2":"2020-12-29T09:51:10.728Z"},"readmeFilename":"Readme.md","users":{"swmoon203":true,"kodemon":true,"derickdsouza":true,"dyc5828":true,"asaupup":true,"goliatone":true,"nuwaio":true},"homepage":"https://github.com/socketio/socket.io-emitter#readme","repository":{"type":"git","url":"git+https://github.com/socketio/socket.io-emitter.git"},"bugs":{"url":"https://github.com/socketio/socket.io-emitter/issues"},"license":"MIT"}