{"_id":"express-swim","_rev":"26-dbf7d817a22eca7c97e436322fc86ebd","name":"express-swim","description":"An http-based SWIM gossip protocol implementation, for expressjs apps","dist-tags":{"latest":"0.0.13"},"versions":{"0.0.1":{"name":"express-swim","version":"0.0.1","description":"An http-based SWIM gossip protocol implementation, for expressjs apps","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/aaaristo/express-swim.git"},"keywords":["gossip","infection","express","swim","http","protocol"],"author":{"name":"aaaristo"},"license":"Apache2","bugs":{"url":"https://github.com/aaaristo/express-swim/issues"},"homepage":"https://github.com/aaaristo/express-swim","dependencies":{"async":"^0.9.0","request":"^2.40.0","underscore":"^1.6.0"},"peerDependencies":{"express":"^4.8.3"},"_id":"express-swim@0.0.1","_shasum":"91d583b42ec1aad92cc9ae9f8a80c9194e26d0d5","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"aaaristo","email":"andrea.gariboldi@gmail.com"},"maintainers":[{"name":"aaaristo","email":"andrea.gariboldi@gmail.com"}],"dist":{"shasum":"91d583b42ec1aad92cc9ae9f8a80c9194e26d0d5","tarball":"https://registry.npmjs.org/express-swim/-/express-swim-0.0.1.tgz","integrity":"sha512-MtRv/stFXtQC1GpGzquEppcjvAU2rCLngBbcqsQKN/5hfq15ONFcGodMLR/zS1WffJwLthT+Z9NRzvzGPT9hbQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDl40xC+Uu5hSXbYviOfbN7T9dnmfUzu85ea8azZKCaYAiBxc7wR8nbOK3vvDtUEyqgKM8t9DkAUINJEdpaq3Muh6g=="}]}},"0.0.2":{"name":"express-swim","version":"0.0.2","description":"An http-based SWIM gossip protocol implementation, for expressjs apps","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/aaaristo/express-swim.git"},"keywords":["gossip","infection","express","swim","http","protocol"],"author":{"name":"aaaristo"},"license":"Apache2","bugs":{"url":"https://github.com/aaaristo/express-swim/issues"},"homepage":"https://github.com/aaaristo/express-swim","dependencies":{"async":"^0.9.0","request":"^2.40.0","underscore":"^1.6.0"},"peerDependencies":{"express":"^4.8.3"},"_id":"express-swim@0.0.2","_shasum":"f78cb7ca87e303d0240e42beff366600f35e0e2c","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"aaaristo","email":"andrea.gariboldi@gmail.com"},"maintainers":[{"name":"aaaristo","email":"andrea.gariboldi@gmail.com"}],"dist":{"shasum":"f78cb7ca87e303d0240e42beff366600f35e0e2c","tarball":"https://registry.npmjs.org/express-swim/-/express-swim-0.0.2.tgz","integrity":"sha512-sYLYR4fI3zCCqSkE2ZdEa0pG14UuqqMwxpI95LeSxlfiyIDbm01+qc90TvVvIL7AvGOe8iuQHhPYpBKofXMF5w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD8kfmDxIqZxUPmWxtABTyzjXXKUxe9dMEHJUa0wdREMQIgCdL1b2tO7XO1JHmJpRIVnBuHjc7y/RCN64Vf/aizSNs="}]}},"0.0.3":{"name":"express-swim","version":"0.0.3","description":"An http-based SWIM gossip protocol implementation, for expressjs apps","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/aaaristo/express-swim.git"},"keywords":["gossip","infection","express","swim","http","protocol"],"author":{"name":"aaaristo"},"license":"Apache2","bugs":{"url":"https://github.com/aaaristo/express-swim/issues"},"homepage":"https://github.com/aaaristo/express-swim","dependencies":{"async":"^0.9.0","request":"^2.40.0","underscore":"^1.6.0"},"peerDependencies":{"express":"^4.8.3"},"_id":"express-swim@0.0.3","_shasum":"af8ebb265c2cabd7d0b35d46e60f2ccacb35fdac","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"aaaristo","email":"andrea.gariboldi@gmail.com"},"maintainers":[{"name":"aaaristo","email":"andrea.gariboldi@gmail.com"}],"dist":{"shasum":"af8ebb265c2cabd7d0b35d46e60f2ccacb35fdac","tarball":"https://registry.npmjs.org/express-swim/-/express-swim-0.0.3.tgz","integrity":"sha512-zPLvSXITQu07czIexgju3zS1Iz0vr0N44sTvbWGNAhepkcAefforxpAOJmqXgWl2ZnK+RYb/taYwTFgdGaO7qQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICbEl2vXtMKs3drg8cJ5ZvBEaXVzk6iUYfHNsnjKIf6lAiEAnsVwnab8r/LB0GPgmqbWcEdqo3tDzpoH2YjpgG74zdI="}]}},"0.0.4":{"name":"express-swim","version":"0.0.4","description":"An http-based SWIM gossip protocol implementation, for expressjs apps","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/aaaristo/express-swim.git"},"keywords":["gossip","infection","express","swim","http","protocol"],"author":{"name":"aaaristo"},"license":"Apache2","bugs":{"url":"https://github.com/aaaristo/express-swim/issues"},"homepage":"https://github.com/aaaristo/express-swim","dependencies":{"async":"^0.9.0","request":"^2.40.0","underscore":"^1.6.0"},"peerDependencies":{"express":"^4.8.3"},"_id":"express-swim@0.0.4","_shasum":"e6098413c722169e812e0632deefb93edb58872c","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"aaaristo","email":"andrea.gariboldi@gmail.com"},"maintainers":[{"name":"aaaristo","email":"andrea.gariboldi@gmail.com"}],"dist":{"shasum":"e6098413c722169e812e0632deefb93edb58872c","tarball":"https://registry.npmjs.org/express-swim/-/express-swim-0.0.4.tgz","integrity":"sha512-dciltMu9IoX6O8LWgjofWuOu5uJJ8w8uagb90SRylzWmfb4cQhkWBQyNrozjCTPaaUcXwQbM9Z9iM8dylUpD8A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFtYEm1zEwO/0RBxV/X64JjKBXDq5a3FlV/4EcJfuc7XAiEA1qmVPb0aAK8NsM2WHyXgMDuXNHPI2vFBLgLx8g1zeWg="}]}},"0.0.5":{"name":"express-swim","version":"0.0.5","description":"An http-based SWIM gossip protocol implementation, for expressjs apps","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/aaaristo/express-swim.git"},"keywords":["gossip","infection","express","swim","http","protocol"],"author":{"name":"aaaristo"},"license":"Apache2","bugs":{"url":"https://github.com/aaaristo/express-swim/issues"},"homepage":"https://github.com/aaaristo/express-swim","dependencies":{"async":"^0.9.0","request":"^2.40.0","underscore":"^1.6.0"},"peerDependencies":{"express":"^4.8.3"},"_id":"express-swim@0.0.5","_shasum":"5553e160a448f671f6669a5af9836b4e416b9113","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"aaaristo","email":"andrea.gariboldi@gmail.com"},"maintainers":[{"name":"aaaristo","email":"andrea.gariboldi@gmail.com"}],"dist":{"shasum":"5553e160a448f671f6669a5af9836b4e416b9113","tarball":"https://registry.npmjs.org/express-swim/-/express-swim-0.0.5.tgz","integrity":"sha512-IqdZqmElo50EpkbuAjTK+l0tB80vnFkA90lSOtFrstUH0yRqywqjYSSEJEdpEHqP5cDc2isRSKu/uLZdEJzORg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEpbeGUmAUdnCK9AduFiwzyJF1Kaw/io4ubZqoFIEeBrAiEA4+fAvQsNTMhWnC9NOeQcjkb67Q8a24NM2RcLx/fOKrk="}]}},"0.0.6":{"name":"express-swim","version":"0.0.6","description":"An http-based SWIM gossip protocol implementation, for expressjs apps","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/aaaristo/express-swim.git"},"keywords":["gossip","infection","express","swim","http","protocol"],"author":{"name":"aaaristo"},"license":"Apache2","bugs":{"url":"https://github.com/aaaristo/express-swim/issues"},"homepage":"https://github.com/aaaristo/express-swim","dependencies":{"async":"^0.9.0","request":"^2.40.0","underscore":"^1.6.0"},"peerDependencies":{"express":"^4.8.3"},"_id":"express-swim@0.0.6","_shasum":"5aafe1c9e5265f1582099e947a1d17027b6efd8f","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"aaaristo","email":"andrea.gariboldi@gmail.com"},"maintainers":[{"name":"aaaristo","email":"andrea.gariboldi@gmail.com"}],"dist":{"shasum":"5aafe1c9e5265f1582099e947a1d17027b6efd8f","tarball":"https://registry.npmjs.org/express-swim/-/express-swim-0.0.6.tgz","integrity":"sha512-8yTszP4BUsOUxe4qGCcXlT45tGETHWvaisB/Cy0EP7IGIi+UDR12itI0qfkoE1g+vT9SefRn6/qv2nC1Oxa34w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCBDPXlVeUmDIMJOiH4e6f+qnCBdq5urPxf+F2aNabQZgIhAPE63LsvJQjzlsTpn+gqGxIy5qV/KEf5x++DmnNkZKtG"}]}},"0.0.7":{"name":"express-swim","version":"0.0.7","description":"An http-based SWIM gossip protocol implementation, for expressjs apps","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/aaaristo/express-swim.git"},"keywords":["gossip","infection","express","swim","http","protocol"],"author":{"name":"aaaristo"},"license":"Apache2","bugs":{"url":"https://github.com/aaaristo/express-swim/issues"},"homepage":"https://github.com/aaaristo/express-swim","dependencies":{"async":"^0.9.0","request":"^2.40.0","underscore":"^1.6.0"},"peerDependencies":{"express":"^4.8.3"},"_id":"express-swim@0.0.7","_shasum":"1e415965a0d8a9310339c0b3b9fd8be6cbc768d5","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"aaaristo","email":"andrea.gariboldi@gmail.com"},"maintainers":[{"name":"aaaristo","email":"andrea.gariboldi@gmail.com"}],"dist":{"shasum":"1e415965a0d8a9310339c0b3b9fd8be6cbc768d5","tarball":"https://registry.npmjs.org/express-swim/-/express-swim-0.0.7.tgz","integrity":"sha512-ciKCpNMOWjrP8L0gT7b0F3zMwVnyDKhm6TLYm/rM5qCd9JqGnVJ/Uri4989lcAN09JZhMvaV+TvpCH8WN1xmKA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCEES0Jrz/uaxRftC50pSqVJ8sB3ADFwfVPyURQwfgfRAIhALj6Cogy2gY1EHoVagpZsAJ+af6aRNVROAc9nhZgRVNE"}]}},"0.0.8":{"name":"express-swim","version":"0.0.8","description":"An http-based SWIM gossip protocol implementation, for expressjs apps","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/aaaristo/express-swim.git"},"keywords":["gossip","infection","express","swim","http","protocol"],"author":{"name":"aaaristo"},"license":"Apache2","bugs":{"url":"https://github.com/aaaristo/express-swim/issues"},"homepage":"https://github.com/aaaristo/express-swim","dependencies":{"async":"^0.9.0","request":"^2.40.0","underscore":"^1.6.0"},"peerDependencies":{"express":"^4.8.3"},"_id":"express-swim@0.0.8","_shasum":"da1ebd5f38ba5daf8f342ef73363a006b8b32433","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"aaaristo","email":"andrea.gariboldi@gmail.com"},"maintainers":[{"name":"aaaristo","email":"andrea.gariboldi@gmail.com"}],"dist":{"shasum":"da1ebd5f38ba5daf8f342ef73363a006b8b32433","tarball":"https://registry.npmjs.org/express-swim/-/express-swim-0.0.8.tgz","integrity":"sha512-mBKRWfiao9C5Y+4eqReRFN1BL2ZWyG5SzRVeIViXi9cPxDSBCJ1p032RlsIcyO6swIdmSyI/HHh6Jc39xVJAlw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCIc/JcBNu0D4pK2H2mplyKAQIepCxdiXST28aepWcd2QIhALLCCgx5cqvO2o9tZBefQxIhDGduXI6ziQgHSx3XHXHq"}]}},"0.0.9":{"name":"express-swim","version":"0.0.9","description":"An http-based SWIM gossip protocol implementation, for expressjs apps","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/aaaristo/express-swim.git"},"keywords":["gossip","infection","express","swim","http","protocol"],"author":{"name":"aaaristo"},"license":"Apache2","bugs":{"url":"https://github.com/aaaristo/express-swim/issues"},"homepage":"https://github.com/aaaristo/express-swim","dependencies":{"async":"^0.9.0","request":"^2.40.0","underscore":"^1.6.0"},"peerDependencies":{"express":"^4.8.3"},"_id":"express-swim@0.0.9","dist":{"shasum":"84116e64c0471bdc012f072b09decc6efc0414bf","tarball":"https://registry.npmjs.org/express-swim/-/express-swim-0.0.9.tgz","integrity":"sha512-y3JPr8VgjyUpE0VovNmmjFwrBfHWtlNivLAlY/6bA08APLZYJ9MfPcWwT6ym+PTU5N6OoTTxiYx65P479FQolA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICCYcwCmAtW3GCk4M50fvceaoPI+e/2BAb4O4eOdi/CDAiB2/DWFrt4H/bXCSocaBfqYfIItny6WtKxW7Nk8IHPuiA=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"aaaristo","email":"andrea.gariboldi@gmail.com"},"maintainers":[{"name":"aaaristo","email":"andrea.gariboldi@gmail.com"}]},"0.0.11":{"name":"express-swim","version":"0.0.11","description":"An http-based SWIM gossip protocol implementation, for expressjs apps","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/aaaristo/express-swim.git"},"keywords":["gossip","infection","express","swim","http","protocol"],"author":{"name":"aaaristo"},"license":"Apache2","bugs":{"url":"https://github.com/aaaristo/express-swim/issues"},"homepage":"https://github.com/aaaristo/express-swim","dependencies":{"async":"^0.9.0","request":"^2.40.0","underscore":"^1.6.0"},"peerDependencies":{"express":"^4.8.3"},"_id":"express-swim@0.0.11","dist":{"shasum":"8cac8e554129a39ff2b0a424d958fe5003f98a57","tarball":"https://registry.npmjs.org/express-swim/-/express-swim-0.0.11.tgz","integrity":"sha512-pvhIkLjzs4mgo6c+16aCpwwR8l/dMW+ne2MraqQS3LFnzlfcUikeEHIon7ts2WaCpKS9Qu0Cc9JdGJ0uJIslTQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCgs1FCsm8kqnTsv4LOp+eyVU4p7lRwRz2xUeV2wRf2vgIgcLUB6qNqMUaEqdEu+S4Y59skSGFV6rFcJ7wcnA/h5Xg="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"aaaristo","email":"andrea.gariboldi@gmail.com"},"maintainers":[{"name":"aaaristo","email":"andrea.gariboldi@gmail.com"}]},"0.0.12":{"name":"express-swim","version":"0.0.12","description":"An http-based SWIM gossip protocol implementation, for expressjs apps","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/aaaristo/express-swim.git"},"keywords":["gossip","infection","express","swim","http","protocol"],"author":{"name":"aaaristo"},"license":"Apache2","bugs":{"url":"https://github.com/aaaristo/express-swim/issues"},"homepage":"https://github.com/aaaristo/express-swim","dependencies":{"async":"^0.9.0","request":"^2.40.0","underscore":"^1.6.0"},"peerDependencies":{"express":"^4.8.3"},"_id":"express-swim@0.0.12","_shasum":"079b2f36c31fa50b65d963678b1aa7f34371d79b","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"aaaristo","email":"andrea.gariboldi@gmail.com"},"maintainers":[{"name":"aaaristo","email":"andrea.gariboldi@gmail.com"}],"dist":{"shasum":"079b2f36c31fa50b65d963678b1aa7f34371d79b","tarball":"https://registry.npmjs.org/express-swim/-/express-swim-0.0.12.tgz","integrity":"sha512-if5m3hMR6/IXwuW1D0kX7s9ONRaRBrbqo9Q7xKw7nxZCXEiacyb5tugnFlgfSYvDx7e4z/J3cw6RTpMURk1mJw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB38pxADhxg5+5HTtf0DAVQRGjWFSQIUzua0XeoAE1zmAiEA9N+FyYpgwThVoKoPkAid+pDmrkLdH6YCyFmhOASY5jQ="}]}},"0.0.13":{"name":"express-swim","version":"0.0.13","description":"An http-based SWIM gossip protocol implementation, for expressjs apps","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/aaaristo/express-swim.git"},"keywords":["gossip","infection","express","swim","http","protocol"],"author":{"name":"aaaristo"},"license":"Apache2","bugs":{"url":"https://github.com/aaaristo/express-swim/issues"},"homepage":"https://github.com/aaaristo/express-swim","dependencies":{"async":"^0.9.0","request":"^2.40.0","underscore":"^1.6.0"},"peerDependencies":{"express":"^4.8.3"},"_id":"express-swim@0.0.13","_shasum":"764f858c8c0588bec522f79474f1618d3f0f8f6c","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"aaaristo","email":"andrea.gariboldi@gmail.com"},"maintainers":[{"name":"aaaristo","email":"andrea.gariboldi@gmail.com"}],"dist":{"shasum":"764f858c8c0588bec522f79474f1618d3f0f8f6c","tarball":"https://registry.npmjs.org/express-swim/-/express-swim-0.0.13.tgz","integrity":"sha512-Lkv2cAYMmyncoh3tsatHKHkwV4LlufOwG013gccUq9WB2YokyQuYi5NLleig4+ljDw5omngeh67AqxlgpOUKQw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHh1rK0xSv7X10hMrz9rANou34GctCK8UkkNxbWKK7DlAiBaMccp7AbdVcaShDNLsuy9OSx3HLlBCWkFtSqEiDptcQ=="}]}}},"readme":"express-swim\n============\n\nAn http-based SWIM gossip protocol implementation, for expressjs apps\n\nhttp://www.cs.cornell.edu/~asdas/research/dsn02-swim.pdf\nhttp://www.cs.ucsb.edu/~ravenben/classes/papers/aodv-wmcsa99.pdf\n\n\n## Getting started\n\nInstall via npm\n\n```sh\n$ npm install optimist express express-swim\n```\n\nCreate your app.js\n\n```javascript\nvar argv= require('optimist').argv,\n    express= require('express'),\n    swim= require('express-swim');\n\nvar app= express(), node= [argv.host,argv.port].join(':');\n\napp.use('/swim',swim(node,{ verbose: true }));\n\napp.listen(argv.port,argv.host);\nconsole.log(node+' listening...');\n```\n\nIn different terminals launch a bunch of nodes:\n\n```sh\n$ node app.js --host 127.0.0.1 --port 8001\n```\n\n```sh\n$ node app.js --host 127.0.0.1 --port 8002\n```\n\n```sh\n$ node app.js --host 127.0.0.1 --port 8003\n```\n\nand let them join the cluster:\n\n```sh\n$ curl -X POST -d '127.0.0.1:8001' http://127.0.0.1:8002/swim/join\n$ curl -X POST -d '127.0.0.1:8001' http://127.0.0.1:8003/swim/join\n```\n\nOk, now you have a connected cluster... Lets break it!\nTry to CTRL-C some node, and see what the other nodes are doing. \nAt any time you can ask for the list of active nodes to any node\n\n```sh\n$ curl http://127.0.0.1:8001/swim/nodes\n```\n\nYou can subscribe membership updates like this:\n\n```javascript\nvar argv= require('optimist').argv,\n    express= require('express'),\n    swim= require('express-swim');\n\nvar app= express(), node= [argv.host,argv.port].join(':');\n\nvar swimApp= swim(node,{ verbose: true });\n\napp.use('/swim',swimApp);\n\napp.listen(argv.port,argv.host);\nconsole.log(node+' listening...');\n\nswimApp.swim.on('join',function (server)\n{\n    console.log(server,'joined');\n});\n\nswimApp.swim.on('leave',function (server)\n{\n    console.log(server,'leaved');\n});\n\nswimApp.swim.on('fail',function (server)\n{\n    console.log(server,'failed');\n});\n\n```\n\nNOTE: you could receive those message more than one time (per event).\n\n## piggybacking\n\nSWIM uses piggybacking of failure detection messages to disseminate\ngroup membership info accross the cluster. And you can use the same \nstrategy to propagate your app messages:\n\n\n```javascript\nvar argv= require('optimist').argv,\n    express= require('express'),\n    swim= require('express-swim');\n\nvar app= express(), node= [argv.host,argv.port].join(':');\n\nvar swimApp= swim(node,{ verbose: true });\n\napp.use('/swim',swimApp);\n\napp.listen(argv.port,argv.host);\nconsole.log(node+' listening...');\n\nswimApp.swim.on('hello',function (world)\n{\n    console.log(world);\n});\n\nsetInterval(function ()\n{\n    swimApp.swim.send('hello',{ world: node });\n},5000);\n```\n\n\n","maintainers":[{"name":"aaaristo","email":"andrea.gariboldi@gmail.com"}],"time":{"modified":"2022-06-17T22:42:06.501Z","created":"2014-08-11T13:20:23.454Z","0.0.1":"2014-08-11T13:20:23.454Z","0.0.2":"2014-08-11T13:24:23.712Z","0.0.3":"2014-08-11T13:32:50.801Z","0.0.4":"2014-08-11T13:53:15.939Z","0.0.5":"2014-08-11T14:26:40.993Z","0.0.6":"2014-08-11T14:36:29.315Z","0.0.7":"2014-08-11T14:39:40.961Z","0.0.8":"2014-08-11T14:45:28.762Z","0.0.9":"2014-08-12T13:54:35.130Z","0.0.11":"2014-08-12T14:11:20.740Z","0.0.12":"2014-08-13T09:35:26.511Z","0.0.13":"2014-08-13T09:57:11.400Z"},"homepage":"https://github.com/aaaristo/express-swim","keywords":["gossip","infection","express","swim","http","protocol"],"repository":{"type":"git","url":"git://github.com/aaaristo/express-swim.git"},"author":{"name":"aaaristo"},"bugs":{"url":"https://github.com/aaaristo/express-swim/issues"},"license":"Apache2","readmeFilename":"README.md"}