{"_id":"socketio-wildcard","_rev":"12-14dbb3da0e1001b8e69823b868e6b528","name":"socketio-wildcard","description":"socket.io with a wildcard event","dist-tags":{"latest":"2.0.0"},"versions":{"0.1.0":{"name":"socketio-wildcard","version":"0.1.0","description":"socket.io with a wildcard event","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/hden/socketio-wildcard.git"},"keywords":["socket.io","websocket"],"author":{"name":"Hao-kang Den","email":"haokang.den@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/hden/socketio-wildcard/issues"},"homepage":"https://github.com/hden/socketio-wildcard","devDependencies":{"mocha":"~1.20.0","socket.io":"~1.0.2","socket.io-client":"~1.0.2","coffee-script":"~1.7.1","chai":"~1.9.1"},"_id":"socketio-wildcard@0.1.0","dist":{"shasum":"72465c1183b6fb6341ae2e439351fcf71ee49905","tarball":"https://registry.npmjs.org/socketio-wildcard/-/socketio-wildcard-0.1.0.tgz","integrity":"sha512-ZeazH+9rgs/NqjKvW25UQFlwg5xq1aYltNjT9e7vR+YE7OyAbgg6O8lGakStw+6pJqX/mFDxmg057g0Jmpg8XQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDz+BEMJp/Q/dLOnp+FRN/5Uj2ZTLJ9T3L6KSRmWh5W1gIgRB3y+WqZ18QPtt7J3WOTzLWLm0939ai7bKVg1GMo0fA="}]},"_from":".","_npmVersion":"1.3.25","_npmUser":{"name":"hden","email":"kenting8707@hotmail.com"},"maintainers":[{"name":"hden","email":"kenting8707@hotmail.com"}]},"0.1.1":{"name":"socketio-wildcard","version":"0.1.1","description":"socket.io with a wildcard event","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/hden/socketio-wildcard.git"},"keywords":["socket.io","websocket"],"author":{"name":"Hao-kang Den","email":"haokang.den@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/hden/socketio-wildcard/issues"},"homepage":"https://github.com/hden/socketio-wildcard","devDependencies":{"mocha":"~1.20.0","socket.io":"~1.0.2","socket.io-client":"~1.0.2","coffee-script":"~1.7.1","chai":"~1.9.1"},"_id":"socketio-wildcard@0.1.1","dist":{"shasum":"1a87becbeb9bb78e29d2b3dcb66866ea795b35e6","tarball":"https://registry.npmjs.org/socketio-wildcard/-/socketio-wildcard-0.1.1.tgz","integrity":"sha512-8vI4cWz/Be96zLMReRNTyGU07dKLQf6PyJBFGwgOul3LtypZ0gpEuiNo/YiJH1fl9hhJgasEKa/W68nTVuuSnQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDGFNCNrcwlAagYPln8lqAIdp1/aKNeWRpObeSEZb+clQIgacndxG0ZBpOfosEdWjZXbFb1u4zhp/1aHpF3wYFLxgs="}]},"_from":".","_npmVersion":"1.3.25","_npmUser":{"name":"hden","email":"kenting8707@hotmail.com"},"maintainers":[{"name":"hden","email":"kenting8707@hotmail.com"}]},"0.2.0":{"name":"socketio-wildcard","version":"0.2.0","description":"socket.io with a wildcard event","main":"index.js","scripts":{"test":"standard && mocha"},"repository":{"type":"git","url":"git+https://github.com/hden/socketio-wildcard.git"},"keywords":["socket.io","websocket"],"author":{"name":"Hao-kang Den","email":"haokang.den@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/hden/socketio-wildcard/issues"},"homepage":"https://github.com/hden/socketio-wildcard","devDependencies":{"espower-loader":"^1.0.0","intelli-espower-loader":"^1.0.0","mocha":"^2.3.4","power-assert":"^1.2.0","socket.io":"^1.3.7","socket.io-client":"^1.3.7","standard":"^5.4.1"},"gitHead":"01ea305896989291cbf614355857b31fa3914416","_id":"socketio-wildcard@0.2.0","_shasum":"3a59b153aa6b915a3c8ca0407325a4fffe6be561","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.2","_npmUser":{"name":"hden","email":"kenting8707@hotmail.com"},"maintainers":[{"name":"hden","email":"kenting8707@hotmail.com"}],"dist":{"shasum":"3a59b153aa6b915a3c8ca0407325a4fffe6be561","tarball":"https://registry.npmjs.org/socketio-wildcard/-/socketio-wildcard-0.2.0.tgz","integrity":"sha512-BFLMvpW9j5xmw3aCJZhwXjXf/WNAbfDA8IXT9pvdXjlsk/dn3DX8Aff0WaTUDhVfvuBu8yNpi1v0CDXequ24jg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIQDv5Kh2ny+OP1o+WK/rR2kCjPlHxC1Dd7vnDdjsWEk3SwIfH2GMio2izV1KOTG0ab04WDqpw3EJUhtO0IQlIqanYQ=="}]}},"0.3.0":{"name":"socketio-wildcard","version":"0.3.0","description":"socket.io with a wildcard event","main":"index.js","scripts":{"test":"standard && mocha"},"repository":{"type":"git","url":"git+https://github.com/hden/socketio-wildcard.git"},"keywords":["socket.io","websocket"],"author":{"name":"Hao-kang Den","email":"haokang.den@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/hden/socketio-wildcard/issues"},"homepage":"https://github.com/hden/socketio-wildcard","devDependencies":{"espower-loader":"^1.0.0","intelli-espower-loader":"^1.0.0","mocha":"^2.3.4","power-assert":"^1.2.0","socket.io":"^1.3.7","socket.io-client":"^1.3.7","standard":"^5.4.1"},"gitHead":"d03e225593159b22bba92bf8c95e2aa33bd04b85","_id":"socketio-wildcard@0.3.0","_shasum":"8155add41e111d0f27c659d48efa0e81f13daa80","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.3","_npmUser":{"name":"hden","email":"kenting8707@hotmail.com"},"maintainers":[{"name":"hden","email":"kenting8707@hotmail.com"}],"dist":{"shasum":"8155add41e111d0f27c659d48efa0e81f13daa80","tarball":"https://registry.npmjs.org/socketio-wildcard/-/socketio-wildcard-0.3.0.tgz","integrity":"sha512-Un1Cgm/v0nCHcXV55KUogXw76hzdjSJp04cbX2uozA/Dud8O3zcN3mhbWZWNJ6GW2aTQa+S0KuBlcnp2MX3TVw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCiUhxBqtESDnOOXqArI/DywYV9Hq1mERaZbd1ckLTqZwIgLJ5rx2YaP/X7LnYrQ+V+RukvAvqnFWwLqUl2yfVIdXs="}]}},"0.4.0":{"name":"socketio-wildcard","version":"0.4.0","description":"socket.io with a wildcard event","main":"index.js","scripts":{"test":"standard && mocha"},"repository":{"type":"git","url":"git+https://github.com/hden/socketio-wildcard.git"},"keywords":["socket.io","websocket"],"author":{"name":"Hao-kang Den","email":"haokang.den@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/hden/socketio-wildcard/issues"},"homepage":"https://github.com/hden/socketio-wildcard","devDependencies":{"espower-loader":"^1.0.1","intelli-espower-loader":"^1.0.1","mocha":"^3.1.2","power-assert":"^1.4.1","socket.io":"^1.5.1","socket.io-client":"^1.5.1","standard":"^8.5.0"},"gitHead":"3a2f3420251fabaf7e44a2f55f430a0016f11dab","_id":"socketio-wildcard@0.4.0","_shasum":"cf92bcc769e51d5807949f1400a168524b95dc2e","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"hden","email":"kenting8707@hotmail.com"},"dist":{"shasum":"cf92bcc769e51d5807949f1400a168524b95dc2e","tarball":"https://registry.npmjs.org/socketio-wildcard/-/socketio-wildcard-0.4.0.tgz","integrity":"sha512-C2SZ2yXoFbKtndLOVreHYX4medmUB5E9OxPlB6tuOqp5fHwcrzv5SkhqQnbC38AlMmHboB4MhCO9MH3sb5yXvw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC1Z3jkWtCM04HIaMxS2G/kR2AIfwyrtqE0hatlCofWZQIhAKserK6hE9SGP74sKfUNZmEfisw2Aa6eLhyInPtznzWl"}]},"maintainers":[{"name":"hden","email":"kenting8707@hotmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/socketio-wildcard-0.4.0.tgz_1489551070398_0.18356431042775512"}},"2.0.0":{"name":"socketio-wildcard","version":"2.0.0","description":"socket.io with a wildcard event","main":"index.js","scripts":{"test":"standard && mocha"},"repository":{"type":"git","url":"git+https://github.com/hden/socketio-wildcard.git"},"keywords":["socket.io","websocket"],"author":{"name":"Hao-kang Den","email":"haokang.den@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/hden/socketio-wildcard/issues"},"homepage":"https://github.com/hden/socketio-wildcard","devDependencies":{"espower-loader":"^1.2.2","intelli-espower-loader":"^1.0.1","mocha":"^3.3.0","power-assert":"^1.4.2","socket.io":"^2.0.1","socket.io-client":"^2.0.1","standard":"^10.0.2"},"gitHead":"acd8083675646e285ab2e363cb49a3153b18edec","_id":"socketio-wildcard@2.0.0","_shasum":"2466e832276b19163563bee772388747f912475b","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.0","_npmUser":{"name":"hden","email":"kenting8707@hotmail.com"},"dist":{"shasum":"2466e832276b19163563bee772388747f912475b","tarball":"https://registry.npmjs.org/socketio-wildcard/-/socketio-wildcard-2.0.0.tgz","integrity":"sha512-Bf3ioZq15Z2yhFLDasRvbYitg82rwm+5AuER5kQvEQHhNFf4R4K5o/h57nEpN7A59T9FyRtTj34HZfMWAruw/A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCesoOoCB8fiAYi46rk/htPPlXIQoXFkKLxlXjL1lIQRQIhAMfBk60ItACtgzF9eoUmmtkceCT5mzojKQJYztG/iUui"}]},"maintainers":[{"name":"hden","email":"kenting8707@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/socketio-wildcard-2.0.0.tgz_1495466919709_0.8749534657690674"}}},"readme":"socketio-wildcard\n=================\n\n[![Build Status](https://img.shields.io/travis/hden/socketio-wildcard.svg)](https://travis-ci.org/hden/socketio-wildcard)\n[![Dependencies](https://img.shields.io/david/hden/socketio-wildcard.svg)](https://david-dm.org/hden/socketio-wildcard)\n[![devDependencies](https://img.shields.io/david/dev/hden/socketio-wildcard.svg)](https://david-dm.org/hden/socketio-wildcard#info=devDependencies)\n[![npm](https://img.shields.io/npm/dm/socketio-wildcard.svg)](https://www.npmjs.com/package/socketio-wildcard)\n[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/)\n\n[![npm](https://nodei.co/npm-dl/socketio-wildcard.png?height=3)](https://nodei.co/npm/socketio-wildcard/)\n\nSocket.io with a wildcard event.\n\nWorks with Socket.io `v1.x` - `v2.x`.\n\nTested with node.js `v4.x`, `v5.x`, `v6.x`, `v7.x`.\n\nInstallation\n------------\n\n    npm install --save socketio-wildcard\n\n\nUsage\n-----\n\n### Server\n\n```js\nvar io         = require('socket.io')();\nvar middleware = require('socketio-wildcard')();\n\nio.use(middleware);\n\nio.on('connection', function(socket) {\n  socket.on('*', function(packet){\n    // client.emit('foo', 'bar', 'baz')\n    packet.data === ['foo', 'bar', 'baz']\n  });\n});\n\nio.listen(8000);\n```\n\n### Client\n\n```js\nvar io = require('socket.io-client');\nvar socket = io('http://localhost');\n// piggyback using the event-emitter bundled with socket.io client\nvar patch = require('socketio-wildcard')(io.Manager);\npatch(socket);\n\nsocket.on('*', function(){ /* … */ })\n```\n\nChangelog\n---------\n\n### [2.0.0] - 2016-05-23\n- no breaking change\n- update test dependencies for socket.io v2\n\n### [0.3.0] - 2015-12-21\n- allow custom event emitter\n- support socket.io client\n\n### [0.2.0] - 2015-11-29\n- wildcard listener for all events get called first ([@Michael77](https://github.com/Michael77))\n- removed coffee-script dependency\n\nLicence\n-------\nMIT\n","maintainers":[{"name":"hden","email":"kenting8707@hotmail.com"}],"time":{"modified":"2022-06-26T21:58:32.352Z","created":"2014-05-30T15:55:32.062Z","0.1.0":"2014-05-30T15:55:32.062Z","0.1.1":"2014-05-31T02:51:00.237Z","0.2.0":"2015-11-29T02:58:19.014Z","0.3.0":"2015-12-21T08:12:36.629Z","0.4.0":"2017-03-15T04:11:12.245Z","2.0.0":"2017-05-22T15:28:39.833Z"},"homepage":"https://github.com/hden/socketio-wildcard","keywords":["socket.io","websocket"],"repository":{"type":"git","url":"git+https://github.com/hden/socketio-wildcard.git"},"author":{"name":"Hao-kang Den","email":"haokang.den@gmail.com"},"bugs":{"url":"https://github.com/hden/socketio-wildcard/issues"},"license":"MIT","readmeFilename":"README.md","users":{"asaupup":true,"nuwaio":true}}