{"_id":"connected","_rev":"13-d6c1ca615baae0e4b8068dc17b191a00","name":"connected","description":"Error first callback for listening on the server.","dist-tags":{"latest":"0.0.2"},"versions":{"0.0.0":{"name":"connected","version":"0.0.0","description":"Error first callback for listening on the server.","main":"index.js","scripts":{"test":"NODE_ENV=testing ./node_modules/.bin/mocha $(find test -name '*.test.js')"},"repository":{"type":"git","url":"git@github.com:3rd-Eden/connected.git"},"keywords":["connected","connect","listen","listening","error","online","up","up","and","away"],"author":{"name":"Arnout Kazemier"},"license":"MIT","devDependencies":{"pre-commit":"0.0.x","chai":"1.6.x","mocha":"1.10.x"},"_id":"connected@0.0.0","dist":{"shasum":"5bc278859728a31b5d100209dff2f12b83cce60f","tarball":"https://registry.npmjs.org/connected/-/connected-0.0.0.tgz","integrity":"sha512-uATEaKWOirSgHv77xPetDIK3Dwo1p2NXk93jlSk6EchR64YpjJW9B3txtckAvGm+DlzaKJ8ZTuQKHbfg2OZGSA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC5j+CiWVBPvRBx/ZXGFcNo6ZOW0w+Uc+daNw5dfpasnAiEA2uwCGeSOMi9E8+1wEK4VDEKku+YuwkUKt9TjDjiIHSw="}]},"_npmVersion":"1.1.71","_npmUser":{"name":"V1","email":"info@3rd-Eden.com"},"maintainers":[{"name":"V1","email":"info@3rd-Eden.com"}]},"0.0.1":{"name":"connected","version":"0.0.1","description":"Error first callback for listening on the server.","main":"index.js","scripts":{"test":"mocha $(find test -name '*.test.js')"},"repository":{"type":"git","url":"git@github.com:3rd-Eden/connected.git"},"keywords":["connected","connect","listen","listening","error","online","up","up","and","away"],"author":{"name":"Arnout Kazemier"},"license":"MIT","devDependencies":{"pre-commit":"0.0.x","assume":"0.0.x","mocha":"1.20.x"},"bugs":{"url":"https://github.com/3rd-Eden/connected/issues"},"homepage":"https://github.com/3rd-Eden/connected","_id":"connected@0.0.1","_shasum":"75d56c69c39676210aa6d7a75a1bbb2e41a26727","_from":".","_npmVersion":"1.4.10","_npmUser":{"name":"V1","email":"info@3rd-Eden.com"},"maintainers":[{"name":"V1","email":"info@3rd-Eden.com"}],"dist":{"shasum":"75d56c69c39676210aa6d7a75a1bbb2e41a26727","tarball":"https://registry.npmjs.org/connected/-/connected-0.0.1.tgz","integrity":"sha512-v2bIk4Ru9BATVq0wQiwoEioDc2a7u/KEWiTPJvDch59CUlcc6qqkpvjnvmzSgRO+duzSiZmkSgJ0Wb9eusKMVg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCC9x4om1H3ueHw+n8wSdHB9Ihy4LcRNWigaA+Lp7ksiAIgFT75CuIwZWcfxOSL+ToaAoQyl0m73xjEJNN108kmbKY="}]}},"0.0.2":{"name":"connected","version":"0.0.2","description":"Error first callback for listening on the server.","main":"index.js","scripts":{"test":"mocha $(find test -name '*.test.js')"},"repository":{"type":"git","url":"git@github.com:3rd-Eden/connected.git"},"keywords":["connected","connect","listen","listening","error","online","up","up","and","away"],"author":{"name":"Arnout Kazemier"},"license":"MIT","devDependencies":{"pre-commit":"0.0.x","assume":"0.0.x","mocha":"1.20.x"},"bugs":{"url":"https://github.com/3rd-Eden/connected/issues"},"homepage":"https://github.com/3rd-Eden/connected","_id":"connected@0.0.2","_shasum":"7b5755b216ce31ffabccc38e9f4e1dfc1c3b7c6d","_from":".","_npmVersion":"1.4.10","_npmUser":{"name":"V1","email":"info@3rd-Eden.com"},"maintainers":[{"name":"V1","email":"info@3rd-Eden.com"}],"dist":{"shasum":"7b5755b216ce31ffabccc38e9f4e1dfc1c3b7c6d","tarball":"https://registry.npmjs.org/connected/-/connected-0.0.2.tgz","integrity":"sha512-J8DB7618GkIYjc1RCxSdG3vffhhYRwHNEckjOGfwAbabQIMgKsL5c54IaWtisulEwoOEbEODEUak4kyJP2GJ/Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCj5Tu9EXxLwfVZ287xL+YE+ECGhgHfWaUgmQPD3YnKSgIhAPGoZloSnBNrHIcI+HtJmv5hs6z7KL/CljcxXr5YbMIt"}]}}},"readme":"# connected\n\nThis module is born out of an annoyance with the Node core. Every method that\nreceives a callback is called using an error first callback. But this is not the\ncase with servers. When you tell the server to start listening on the given port\nit can will `emit` an `error` event when it failed.\n\n## Installation\n\n```\nnpm install connected --save\n```\n\n## Usage\n\n```js\nvar connected = require('connected')\n  , http = require('http');\n\nvar app = http.createServer(function (req, res) {\n  res.end('wobble wobble');\n});\n\nconnected(app, 80, function (err) {\n  // Received an error because we are not allowed to listen on port 80\n});\n```\n\nAnd thats it.\n\n## License\n\nMIT\n","maintainers":[{"email":"npm@3rd-Eden.com","name":"3rdeden"},{"email":"npm@3rd-Eden.com","name":"v1"}],"time":{"modified":"2022-06-13T21:49:39.029Z","created":"2013-05-25T12:31:06.119Z","0.0.0":"2013-05-25T12:31:07.938Z","0.0.1":"2014-06-24T10:49:43.221Z","0.0.2":"2014-07-04T09:37:29.207Z"},"author":{"name":"Arnout Kazemier"},"repository":{"type":"git","url":"git@github.com:3rd-Eden/connected.git"},"homepage":"https://github.com/3rd-Eden/connected","keywords":["connected","connect","listen","listening","error","online","up","up","and","away"],"bugs":{"url":"https://github.com/3rd-Eden/connected/issues"},"license":"MIT","readmeFilename":"README.md"}