{"url":"http://github.com/dpweb/time-node/","dist":{"shasum":"6cc947f74640a20df9ab3fd05b1f6f3b8aa3ed96","tarball":"https://registry.npmjs.org/time-node/-/time-node-0.0.1.tgz","integrity":"sha512-jktKT0U0+axuyTwV/c30/Ke/oMh6VNIGPg0OmYRsF6qA6RKOUJYHU4NzBO2YGbRFRCfaeI83/FIK84Z1y0NvOQ==","signatures":[{"sig":"MEUCIAaCOtiqJ8NhPm+MVjX4o84M2UYn/UjBWwCNGpf+Y0F1AiEAq/F3Uvvgk28Ls9T4zjwP7Ef0suit/tKwcwa8ESZup4s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"time-node","name":"time-node","author":{"name":"C Borkert","email":"ILIKECHEESE@dpsw.info"},"readme":"###clients-node    \r\nAdds app.clients to Expressjs showing recently connected clients  \r\n    \r\n\r\n###app.js\r\n````js\r\n\tvar express = require('express'), app = express();\r\n\tvar server = require('http').createServer(app)\r\n \tserver.listen(85);\r\n\r\n \trequire('./clients-node.js')(app, timeoutsec=5);\r\n \t// app.clients is a list of recently connected clients\r\n\r\n \tapp.get('/', function(r,s){\r\n \t\t// show clients list\r\n \t\ts.send(app.clients)\r\n \t})\r\n\r\n \t// In 10 seconds, the clients should be gone from the list\r\n \tsetTimeout(function(){console.log(app.clients)}, 10000)\r\n````\r\n","_npmUser":{"name":"dpweb","email":"me@dpsw.info"},"keywords":["util","nodejs"],"repository":{"url":"git://github.com/dpweb/time-node.git","type":"git"},"_npmVersion":"1.1.59","description":"Simple wrapper around node-timeago","maintainers":[{"name":"dpweb","email":"me@dpsw.info"}],"dependencies":{},"_id":"time-node@0.0.1","version":"0.0.1"}