{"_id":"co-express","_rev":"33-60c8e519654055020e81735380e5ff29","name":"co-express","description":"An express wrapper that enables generators to be used as middlewares","dist-tags":{"latest":"2.0.0"},"versions":{"0.0.1":{"name":"co-express","description":"An express wrapper that enables generators to be used as middlewares","version":"0.0.1","author":{"name":"Martín Ciparelli","email":"mciparelli@gmail.com"},"contributors":[{"name":"Martín Ciparelli","email":"mciparelli@gmail.com"}],"dependencies":{"co":"1.4.1","methods":"0.0.1"},"keywords":["web","express","route","middleware","generator","harmony","continuable"],"repository":{"type":"git","url":"git://github.com/mciparelli/co-express"},"main":"index","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":">=v0.11.4"},"license":"MIT","_id":"co-express@0.0.1","dist":{"shasum":"ef3542efe6f78752cd1ad235e24ff94ca1312c15","tarball":"https://registry.npmjs.org/co-express/-/co-express-0.0.1.tgz","integrity":"sha512-QMejFuA++uXdf3yrJfWYz+leJR/sXGYgktPBZJIMVI80qFU3euiSxuQT7yMVqoDIRbzi+s/Yt7DiJPgBObeQmg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDEzOnqpWc3P9le8qfjOORCAHM7c4O8B5x5nVFRVRO4LAiBHzTiJ0Me317XGI+Qv2zOl6+ZoogYbvy6RH6m7V+8qeA=="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"mciparelli","email":"mciparelli@gmail.com"},"maintainers":[{"name":"mciparelli","email":"mciparelli@gmail.com"}],"directories":{}},"0.2.0":{"name":"co-express","description":"An express wrapper that enables generators to be used as middlewares","version":"0.2.0","author":{"name":"Martín Ciparelli","email":"mciparelli@gmail.com"},"contributors":[{"name":"Martín Ciparelli","email":"mciparelli@gmail.com"}],"dependencies":{"co":"1.4.1","co-each":"0.1.0","methods":"0.0.1"},"keywords":["web","express","route","middleware","generator","harmony","continuable"],"repository":{"type":"git","url":"git://github.com/mciparelli/co-express"},"main":"index","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":">=v0.11.4"},"license":"MIT","_id":"co-express@0.2.0","dist":{"shasum":"cc573db20ea164a347739d9a7d0662cd9da70739","tarball":"https://registry.npmjs.org/co-express/-/co-express-0.2.0.tgz","integrity":"sha512-eAS5VYH0lVQOLcU8id2QCm2X3dhGDiYnsMlTTyhMhP69wqElkFsHl5CicY0tJEVN5ahCCnr4plqcbMQsOoVgHQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDMaeNq+5pUKnBcvNO+sjTnUP3ILF57h9AHEhZkFZw4OQIgKnD6YsZSbh36vpc4Rm2VD7EMVbcCXtC3ix6amSGtsBk="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"mciparelli","email":"mciparelli@gmail.com"},"maintainers":[{"name":"mciparelli","email":"mciparelli@gmail.com"}],"directories":{}},"0.3.0":{"name":"co-express","description":"An express wrapper that enables generators to be used as middlewares","version":"0.3.0","author":{"name":"Martín Ciparelli","email":"mciparelli@gmail.com"},"contributors":[{"name":"Martín Ciparelli","email":"mciparelli@gmail.com"}],"dependencies":{"co":"1.4.1","co-each":"0.1.0","methods":"0.0.1"},"keywords":["web","express","route","middleware","generator","harmony","continuable"],"repository":{"type":"git","url":"git://github.com/mciparelli/co-express"},"main":"index","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":">=v0.11.4"},"license":"MIT","_id":"co-express@0.3.0","dist":{"shasum":"1aaaa454d5965342faa1941e34af1b38e6b87ab7","tarball":"https://registry.npmjs.org/co-express/-/co-express-0.3.0.tgz","integrity":"sha512-Yp2fKesd0jo/H0OYcEvPsTpZJUBXC1aObXuFRFrOqpnwzmLg95vNLD7jaYD0Zws3rHrfZv58jXnFl53dA3r9yQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDEAVpGJJEvQ7Z0xh/lwkYZUaSGEEJulHw6PfXMfKMB3AIhAKeYvNhqdaWk5GoqMa/FtpMndLsk40TdA36rEpQaR5Qb"}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"mciparelli","email":"mciparelli@gmail.com"},"maintainers":[{"name":"mciparelli","email":"mciparelli@gmail.com"}],"directories":{}},"0.3.1":{"name":"co-express","description":"An express wrapper that enables generators to be used as middlewares","version":"0.3.1","author":{"name":"Martín Ciparelli","email":"mciparelli@gmail.com"},"contributors":[{"name":"Martín Ciparelli","email":"mciparelli@gmail.com"}],"dependencies":{"co":"1.5.2","co-each":"0.1.0","methods":"0.0.1"},"keywords":["web","express","route","middleware","generator","harmony","continuable"],"repository":{"type":"git","url":"git://github.com/mciparelli/co-express"},"main":"index","scripts":{"test":"mocha --harmony"},"engines":{"node":">=v0.11.4"},"license":"MIT","devDependencies":{"supertest":"~0.7.1","mocha":"~1.12.1","express":"~3.4.0","should":"~1.2.2"},"_id":"co-express@0.3.1","dist":{"shasum":"04863b032a320c85d8a0d7afa02eb80bf117432f","tarball":"https://registry.npmjs.org/co-express/-/co-express-0.3.1.tgz","integrity":"sha512-72hTOqaY4OC7JpUzMqwpaoYg4UoVcEhS3eMRV4XPmvvmzcFt4ee4LCs8WiVQWPVPMKu4teK4kfLPH7xIOgRblw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD+dCVTsYGDwkxNXYfTbIThOIMUJO26HmtDf5gCpUEFmgIgc/x+ezHX8YgwSKvX1AKoqIA0H1KALt3z+7mqFPuVquc="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"mciparelli","email":"mciparelli@gmail.com"},"maintainers":[{"name":"mciparelli","email":"mciparelli@gmail.com"}],"directories":{}},"0.3.2":{"name":"co-express","description":"An express wrapper that enables generators to be used as middlewares","version":"0.3.2","author":{"name":"Martín Ciparelli","email":"mciparelli@gmail.com"},"contributors":[{"name":"Martín Ciparelli","email":"mciparelli@gmail.com"}],"dependencies":{"co":"1.5.2","co-each":"0.1.0","methods":"0.0.1"},"keywords":["web","express","route","middleware","generator","harmony","continuable"],"repository":{"type":"git","url":"git://github.com/mciparelli/co-express"},"main":"index","scripts":{"test":"mocha --harmony"},"engines":{"node":">=v0.11.4"},"license":"MIT","devDependencies":{"supertest":"~0.7.1","mocha":"~1.12.1","express":"~3.4.0","should":"~1.2.2"},"bugs":{"url":"https://github.com/mciparelli/co-express/issues"},"homepage":"https://github.com/mciparelli/co-express","_id":"co-express@0.3.2","dist":{"shasum":"ae69d163852696fe1dce1ad5a8ea9e030a4448e1","tarball":"https://registry.npmjs.org/co-express/-/co-express-0.3.2.tgz","integrity":"sha512-kUHu+A+Iax5eMdT0cvmJwedjLWn5mt3buHUGZyICWDd0TAmOBMAH3DQkvF5vS+NkRAq4PaQVLENug/dzAhVt8Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDSUvc3tXHLbyPx9BoGky6CwKTZ799BEaTxBbOoTWTmVgIhANLOEDrHVWBVuktmGMH4HGoTXyXPYaZLu7di6BjdvjbT"}]},"_from":".","_npmVersion":"1.3.13","_npmUser":{"name":"mciparelli","email":"mciparelli@gmail.com"},"maintainers":[{"name":"mciparelli","email":"mciparelli@gmail.com"}],"directories":{}},"0.3.3":{"name":"co-express","description":"An express wrapper that enables generators to be used as middlewares","version":"0.3.3","author":{"name":"Martín Ciparelli","email":"mciparelli@gmail.com"},"contributors":[{"name":"Martín Ciparelli","email":"mciparelli@gmail.com"}],"dependencies":{"co":"1.5.2","co-each":"0.1.0","methods":"0.0.1"},"keywords":["web","express","route","middleware","generator","harmony","continuable"],"repository":{"type":"git","url":"git://github.com/mciparelli/co-express"},"main":"index","scripts":{"test":"mocha --harmony"},"engines":{"node":">=v0.11.4"},"license":"MIT","devDependencies":{"supertest":"~0.7.1","mocha":"~1.12.1","express":"~3.4.0","should":"~1.2.2"},"bugs":{"url":"https://github.com/mciparelli/co-express/issues"},"homepage":"https://github.com/mciparelli/co-express","_id":"co-express@0.3.3","dist":{"shasum":"bce9a5c1eb6a32a7b8fdd2946eec7bd831f4f7f9","tarball":"https://registry.npmjs.org/co-express/-/co-express-0.3.3.tgz","integrity":"sha512-DJz6WhAGuDR2qyN12YLAlC56QDOl9hwlvHqw7lQ/wsNRPtnzEikpkHlR4OsBCOZAi0ZtTjkVj/oRLZzhBiRbUQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQWGIHScGyQtwsG3nVXsdxmzX6qqiw3UYtWUALo5Be7QIhAKRF0GWjnA4JQTeWESZKKcTXs7j1W76qhpgQEjm3iUvt"}]},"_from":".","_npmVersion":"1.3.13","_npmUser":{"name":"mciparelli","email":"mciparelli@gmail.com"},"maintainers":[{"name":"mciparelli","email":"mciparelli@gmail.com"}],"directories":{}},"0.4.0":{"name":"co-express","description":"An express wrapper that enables generators to be used as middlewares","version":"0.4.0","author":{"name":"Martín Ciparelli","email":"mciparelli@gmail.com"},"contributors":[{"name":"Martín Ciparelli","email":"mciparelli@gmail.com"},{"name":"Alexey Simonenko","email":"alexey@simonenko.su"}],"keywords":["web","express","route","middleware","generator","harmony","continuable"],"repository":{"type":"git","url":"git://github.com/mciparelli/co-express"},"main":"index","scripts":{"test":"mocha --harmony"},"engines":{"node":">=v0.11.4"},"license":"MIT","dependencies":{"co":"3.0.x","co-each":"0.1.x","methods":"0.1.x"},"devDependencies":{"supertest":"~0.8","mocha":"~1.17","express":"~3.4","should":"~2.1"},"bugs":{"url":"https://github.com/mciparelli/co-express/issues"},"homepage":"https://github.com/mciparelli/co-express","_id":"co-express@0.4.0","dist":{"shasum":"77a6eea0f7b147d737bd92f0a292074b4c5286f4","tarball":"https://registry.npmjs.org/co-express/-/co-express-0.4.0.tgz","integrity":"sha512-qak1zdplgKhIpYMjen1fa3Qz8sU/OZhW/rQeDMMHzOVKIiNtrMWHeC0k2V0iWXbvqOtrXwAlD3d9oOhntZFT5g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC4GwD64dD9EQ0BDgt+fB42EI95qbV8aD3cVorAfgswJgIgHzDBvOCUEOn+a5VHeejdCCSPuXM8A9ALFdhlKaVMLTk="}]},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"mciparelli","email":"mciparelli@gmail.com"},"maintainers":[{"name":"mciparelli","email":"mciparelli@gmail.com"}]},"1.0.0":{"name":"co-express","description":"An express wrapper that enables generators to be used as middlewares","version":"1.0.0","author":{"name":"Martín Ciparelli","email":"mciparelli@gmail.com"},"contributors":[{"name":"Martín Ciparelli","email":"mciparelli@gmail.com"},{"name":"Alexey Simonenko","email":"alexey@simonenko.su"}],"keywords":["web","express","route","middleware","generator","harmony","continuable"],"repository":{"type":"git","url":"git://github.com/mciparelli/co-express"},"main":"index","scripts":{"test":"mocha --harmony"},"engines":{"node":">=v0.11.4"},"license":"MIT","dependencies":{"co":"^3.0.5"},"devDependencies":{"supertest":"^0.11.0","mocha":"^1.18.2","express":"^4.1.1","should":"^3.3.1"},"bugs":{"url":"https://github.com/mciparelli/co-express/issues"},"homepage":"https://github.com/mciparelli/co-express","_id":"co-express@1.0.0","dist":{"shasum":"2423dbfff46046bcbe2df6d55466cb96d0b0c365","tarball":"https://registry.npmjs.org/co-express/-/co-express-1.0.0.tgz","integrity":"sha512-aGUHyEINjK0EY0KfE4AwMXaZXzq12PkSM0Zr9IgYCGLmNm/73wnrBDPhjIvzISPu3jIb1D6KSc9GEbx+JPcA/A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCCOYFICdtBUBX4oHhNDZMWtfwaqTobvh5gW3T8Vuyr/wIhAPTfO734uMTmmc2qFoARiDtRsNO4LjljFOGjoJBzDEsF"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"mciparelli","email":"mciparelli@gmail.com"},"maintainers":[{"name":"mciparelli","email":"mciparelli@gmail.com"}]},"1.1.0":{"name":"co-express","description":"An express wrapper that enables generators to be used as middlewares","version":"1.1.0","author":{"name":"Martín Ciparelli","email":"mciparelli@gmail.com"},"contributors":[{"name":"Martín Ciparelli","email":"mciparelli@gmail.com"},{"name":"Alexey Simonenko","email":"alexey@simonenko.su"}],"keywords":["web","express","route","middleware","generator","harmony","continuable"],"repository":{"type":"git","url":"git://github.com/mciparelli/co-express"},"main":"index","scripts":{"test":"mocha --harmony"},"engines":{"node":">=v0.11.4"},"license":"MIT","dependencies":{"co":"^4.0.1"},"devDependencies":{"express":"^4.10.6","mocha":"^2.0.1","should":"^4.4.1","supertest":"^0.15.0"},"gitHead":"dd3fd393a7b8178bd388ce148a3ec4dbd91e3a74","bugs":{"url":"https://github.com/mciparelli/co-express/issues"},"homepage":"https://github.com/mciparelli/co-express","_id":"co-express@1.1.0","_shasum":"a0650b910cb61316d1b27369be712562c27fc942","_from":".","_npmVersion":"2.0.0","_npmUser":{"name":"mciparelli","email":"mciparelli@gmail.com"},"maintainers":[{"name":"mciparelli","email":"mciparelli@gmail.com"}],"dist":{"shasum":"a0650b910cb61316d1b27369be712562c27fc942","tarball":"https://registry.npmjs.org/co-express/-/co-express-1.1.0.tgz","integrity":"sha512-RHQEWas1zYvZCsp9sBsS/om4My0X9q0ea5OXAVe1FWHhup8ogNISK3fSoPfKZxPak6rATAU6zxKJnEuQehmKbw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDNgG1R7qKM0/cvLZShFwE2aPBW47ty77a9TqzdvNBa6gIgAvdw9ZLyj58fvtssV+EYyDjaiIBh6zed0SXckm9xaZo="}]}},"1.2.0":{"name":"co-express","description":"An express wrapper that enables generators to be used as middlewares","version":"1.2.0","author":{"name":"Martín Ciparelli","email":"mciparelli@gmail.com"},"contributors":[{"name":"Martín Ciparelli","email":"mciparelli@gmail.com"},{"name":"Alexey Simonenko","email":"alexey@simonenko.su"}],"keywords":["web","express","route","middleware","generator","harmony","continuable"],"repository":{"type":"git","url":"git://github.com/mciparelli/co-express"},"main":"index","scripts":{"test":"mocha --harmony"},"engines":{"node":">=v0.11.4"},"license":"MIT","dependencies":{"co":"^4.0.1"},"devDependencies":{"express":"^4.10.6","mocha":"^2.0.1","should":"^7.0.2","supertest":"^1.0.1"},"gitHead":"e49152e1c3435fb7d643026c7657a61170c6ca37","bugs":{"url":"https://github.com/mciparelli/co-express/issues"},"homepage":"https://github.com/mciparelli/co-express","_id":"co-express@1.2.0","_shasum":"ba3a9b0301f3f801bc0f8de303bd1fa25c327c2f","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"mciparelli","email":"mciparelli@gmail.com"},"maintainers":[{"name":"mciparelli","email":"mciparelli@gmail.com"}],"dist":{"shasum":"ba3a9b0301f3f801bc0f8de303bd1fa25c327c2f","tarball":"https://registry.npmjs.org/co-express/-/co-express-1.2.0.tgz","integrity":"sha512-1+N3suUsSA3P2UaWTVO33vtUWCeVXVyeMFFkiwGcfELpU8s9CdcwcQ/alUx24uBE+bshYxlsADhPuJCerQvQlg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEjRkrtyEpcTRS5ZHR/auGCRu4ODabzn20fYKuAeOQAfAiEAo0eh5JkjYxDEt8+Y+lWobPy2U2I3vstYykB3+T+24qw="}]}},"1.2.1":{"name":"co-express","description":"An express wrapper that enables generators to be used as middlewares","version":"1.2.1","author":{"name":"Martín Ciparelli","email":"mciparelli@gmail.com"},"contributors":[{"name":"Martín Ciparelli","email":"mciparelli@gmail.com"},{"name":"Alexey Simonenko","email":"alexey@simonenko.su"}],"keywords":["web","express","route","middleware","generator","harmony","continuable"],"repository":{"type":"git","url":"git://github.com/mciparelli/co-express"},"main":"index","scripts":{"test":"mocha --harmony"},"engines":{"node":">=v0.11.4"},"license":"MIT","dependencies":{"co":"^4.0.1"},"devDependencies":{"express":"^4.10.6","mocha":"^2.0.1","should":"^7.0.2","supertest":"^1.0.1"},"gitHead":"70b3482e0532cf30e1c3b4207c15bf0172ec6335","bugs":{"url":"https://github.com/mciparelli/co-express/issues"},"homepage":"https://github.com/mciparelli/co-express","_id":"co-express@1.2.1","_shasum":"6032527b544207bc0a03796b2606b9e7572e551b","_from":".","_npmVersion":"2.11.3","_nodeVersion":"2.3.3","_npmUser":{"name":"mciparelli","email":"mciparelli@gmail.com"},"maintainers":[{"name":"mciparelli","email":"mciparelli@gmail.com"}],"dist":{"shasum":"6032527b544207bc0a03796b2606b9e7572e551b","tarball":"https://registry.npmjs.org/co-express/-/co-express-1.2.1.tgz","integrity":"sha512-hEzjR7jEY8Znkc1vZzQGenKireyXQeYFTJjSW3xQcqkRzugiiuxa1OVnzoTdAX1AobF859Q+vUjQ5DoDZStBXQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDWPPnN21/zktStqiYjPGQ7WF7bM3RDgcBuDkH6l+gZ8AIhALGlgGZSXK8ksEskDMoRQ/ZOEVZwi2pkDUcuhOp7FTmW"}]}},"1.2.2":{"name":"co-express","description":"An express wrapper that enables generators to be used as middlewares","version":"1.2.2","author":{"name":"Martín Ciparelli","email":"mciparelli@gmail.com"},"contributors":[{"name":"Martín Ciparelli","email":"mciparelli@gmail.com"},{"name":"Alexey Simonenko","email":"alexey@simonenko.su"}],"keywords":["web","express","route","middleware","generator","harmony","continuable"],"repository":{"type":"git","url":"git://github.com/mciparelli/co-express.git"},"main":"index","scripts":{"test":"mocha --harmony"},"engines":{"node":">=v0.11.4"},"license":"MIT","dependencies":{"co":"^4.6.0"},"devDependencies":{"express":"^4.14.0","mocha":"^3.0.2","should":"^10.0.0","supertest":"^2.0.0"},"gitHead":"da1ff69e979105b07d82bbab3a8da5a1d86573d9","bugs":{"url":"https://github.com/mciparelli/co-express/issues"},"homepage":"https://github.com/mciparelli/co-express#readme","_id":"co-express@1.2.2","_shasum":"7ab520d459ca02409da6a1eb6f99ff4a31009d1c","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"mciparelli","email":"mciparelli@gmail.com"},"dist":{"shasum":"7ab520d459ca02409da6a1eb6f99ff4a31009d1c","tarball":"https://registry.npmjs.org/co-express/-/co-express-1.2.2.tgz","integrity":"sha512-WEC4sZrErXBnaNHT88JUToUJtFpfHvB5uifTDgrdwlabBothiREkW/81yYvrVS7MroJDoo5AM92GpK7crOoCZQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD/S9ZXKxFch4Lmcw4OgkgqXgGXCDryXHiiSEAfj2cFRwIhAJJ5Ls0uBnuICY8X4lmoXbk2+QWy23vxV4Z4bZ9Sktqk"}]},"maintainers":[{"name":"mciparelli","email":"mciparelli@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/co-express-1.2.2.tgz_1471973234555_0.13399043050594628"}},"2.0.0":{"name":"co-express","description":"An express wrapper that enables generators to be used as middlewares","version":"2.0.0","author":{"name":"Martín Ciparelli","email":"mciparelli@gmail.com"},"contributors":[{"name":"Martín Ciparelli","email":"mciparelli@gmail.com"},{"name":"Alexey Simonenko","email":"alexey@simonenko.su"}],"keywords":["web","express","route","middleware","generator","harmony","continuable"],"repository":{"type":"git","url":"git://github.com/mciparelli/co-express.git"},"main":"index","scripts":{"test":"mocha --harmony"},"engines":{"node":">=v0.11.4"},"license":"MIT","optionalDependencies":{"co":"^4.6.0"},"devDependencies":{"express":"^4.14.0","mocha":"^3.0.2","should":"^10.0.0","supertest":"^2.0.0"},"gitHead":"3fc4d57f7f3e04550b43aea2e3f7e45d9bc38941","bugs":{"url":"https://github.com/mciparelli/co-express/issues"},"homepage":"https://github.com/mciparelli/co-express#readme","dependencies":{"co":"^4.6.0"},"_id":"co-express@2.0.0","_shasum":"cf4e0ffa8ae0f5ec7c92025c62dd1ab4a7987154","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.6.0","_npmUser":{"name":"mciparelli","email":"mciparelli@gmail.com"},"dist":{"shasum":"cf4e0ffa8ae0f5ec7c92025c62dd1ab4a7987154","tarball":"https://registry.npmjs.org/co-express/-/co-express-2.0.0.tgz","integrity":"sha512-7+STbvGadq96oIFQeCSQMVfHqN/xuPDXCWPSRFmPT7PKhOCsbBFo8vDRN8uDQ0+Df226tF8gsNCfU9dP/OTlQg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCFTqXPdSI6TNTIkGsaVB2BnuOzhO+xNuWmZ5d9BIvljwIgYuPpP4CdP2Pf9EfbhqhWcpQwwBmSbUWkdQ51fsCGKcI="}]},"maintainers":[{"name":"mciparelli","email":"mciparelli@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/co-express-2.0.0.tgz_1488817405000_0.822370128473267"}}},"readme":"**co-express** is an express wrapper that enables generators to be used as middlewares.\n\n[![NPM version](https://badge.fury.io/js/co-express.png)](http://badge.fury.io/js/co-express) [![Build Status](https://travis-ci.org/mciparelli/co-express.png?branch=master)](https://travis-ci.org/mciparelli/co-express) [![Dependency Status](https://david-dm.org/mciparelli/co-express.png)](https://david-dm.org/mciparelli/co-express) [![devDependency Status](https://david-dm.org/mciparelli/co-express/dev-status.png)](https://david-dm.org/mciparelli/co-express#info=devDependencies)\n\n## Usage\n\n**co-express** lets you write your express routes by using generator functions as middlewares.\nLike this:\n\n```js\nvar fs = require('mz/fs');\nvar express = require('express');\nvar wrap = require('co-express');\n\nvar app = express();\n\napp.get('/', wrap(function* (req, res) {\n  var packageContents = yield fs.readFile('./package.json', 'utf8');\n  res.send(packageContents);\n}));\n\napp.listen(8000);\n```\n\nYou can also define multiple generator functions just the [express](https://github.com/visionmedia/express) way, as long as you wrap them and call `next()`:\n\n```js\napp.get('/users', wrap(function* (req, res, next) {\n  req.users = yield db.getUsers();\n  next();\n}), wrap(function* (req, res) {\n  res.send(req.users);\n}));\n```\n\n### Usage with other libraries\n\nStarting from v2, you can pass your own wrapper function as a second argument.\n\nThis argument will be used instead of `co.wrap`.\n\nThe support of this wrapper library when used with this extra argument is untested\nand may vary from library to library.\n\n\n## Installation\n\n```bash\n$ npm install co-express\n```\n\n\n## License\n\n(The MIT License)\n\nCopyright (c) 2013 Martín Ciparelli &lt;mciparelli@gmail.com&gt;\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","maintainers":[{"name":"mciparelli","email":"mciparelli@gmail.com"}],"time":{"modified":"2022-06-13T06:23:00.703Z","created":"2013-07-29T01:11:43.374Z","0.0.1":"2013-07-29T01:11:47.909Z","0.2.0":"2013-08-30T19:30:28.836Z","0.3.0":"2013-09-11T17:56:11.597Z","0.3.1":"2013-09-14T12:36:31.335Z","0.3.2":"2013-10-30T20:41:09.537Z","0.3.3":"2013-11-18T14:23:13.256Z","0.4.0":"2014-01-13T00:02:14.354Z","1.0.0":"2014-04-29T17:27:09.183Z","1.1.0":"2014-12-15T22:51:19.244Z","1.2.0":"2015-08-05T13:16:49.153Z","1.2.1":"2015-08-05T18:13:24.446Z","1.2.2":"2016-08-23T17:27:18.214Z","2.0.0":"2017-03-06T16:23:27.211Z"},"author":{"name":"Martín Ciparelli","email":"mciparelli@gmail.com"},"repository":{"type":"git","url":"git://github.com/mciparelli/co-express.git"},"homepage":"https://github.com/mciparelli/co-express#readme","keywords":["web","express","route","middleware","generator","harmony","continuable"],"contributors":[{"name":"Martín Ciparelli","email":"mciparelli@gmail.com"},{"name":"Alexey Simonenko","email":"alexey@simonenko.su"}],"bugs":{"url":"https://github.com/mciparelli/co-express/issues"},"license":"MIT","readmeFilename":"Readme.md","users":{"shaomingquan":true,"deju":true,"vitali.doudko":true,"knownasilya":true,"nicknaso":true,"laudeon":true,"kodekracker":true,"ab.moon":true,"darrentorpey":true}}