{"versions":{"0.0.1":{"name":"co-event","version":"0.0.1","repository":{"type":"git","url":"git://github.com/segmentio/co-event"},"description":"Return any event that an emitter emits","keywords":["emitter","events","co","generators"],"dependencies":{},"devDependencies":{"mocha":"*","should":"*","co":"~3.0.5"},"license":"MIT","bugs":{"url":"https://github.com/segmentio/co-event/issues"},"homepage":"https://github.com/segmentio/co-event","_id":"co-event@0.0.1","dist":{"shasum":"44269ea8fe1df561c03c5485a157c2f11a057da7","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/co-event/-/co-event-0.0.1.tgz","size":1153,"integrity":"sha512-geeyQ4vkCOroWdSADgFixIGZFKvxuFhyVbBOrDM7e02M4EMnjo5XgmHUBY3wQlccHbJHqv4v9eyDnc1vNLSo3w=="},"_from":".","_npmVersion":"1.3.15","_npmUser":{"name":"anonymous","email":"tj@vision-media.ca"},"maintainers":[{"name":"anonymous","email":"tj@vision-media.ca"}],"directories":{},"_cnpmcore_publish_time":"2021-12-21T06:24:30.469Z","contributors":[]},"0.1.0":{"name":"co-event","version":"0.1.0","repository":{"type":"git","url":"git://github.com/segmentio/co-event"},"description":"Return any event that an emitter emits","keywords":["emitter","events","co","generators"],"dependencies":{},"devDependencies":{"mocha":"*","should":"*","co":"~3.0.5"},"license":"MIT","bugs":{"url":"https://github.com/segmentio/co-event/issues"},"homepage":"https://github.com/segmentio/co-event","_id":"co-event@0.1.0","dist":{"shasum":"f999b6a7c458c304deb472023db2c082d092e375","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/co-event/-/co-event-0.1.0.tgz","size":1354,"integrity":"sha512-WWY52i7cBV2csfAkBSaMhKnEs6dLWmcW4GXs0Hm148Qb2KJqnfj0s93zA9gw/jM7pCbiihxJsrEpJ88ImRYfmw=="},"_from":".","_npmVersion":"1.3.15","_npmUser":{"name":"anonymous","email":"tj@vision-media.ca"},"maintainers":[{"name":"anonymous","email":"tj@vision-media.ca"}],"directories":{},"_cnpmcore_publish_time":"2021-12-21T06:24:30.563Z","contributors":[]}},"dist-tags":{"latest":"0.1.0"},"name":"co-event","time":{"created":"2022-01-27T01:14:29.075Z","modified":"2022-01-27T01:14:29.075Z","0.0.1":"2014-03-18T21:34:47.058Z","0.1.0":"2014-03-18T21:39:33.035Z"},"readme":"# co-event\n\n  Return any event that an emitter emits.\n\n## Installation\n\n```\n$ npm install co-event\n```\n\n## Example\n\n Returns events in sequence, with the `.type` and `.args` keys. The original events are still emitted except for \"error\", as node will think no handler is registered.\n\n```js\nvar event = require('co-event');\n\nvar e;\nwhile (e = yield event(emitter)) {\n  switch (e.type) {\n    case 'end':\n      break;\n\n    case 'close':\n      break;\n\n    case 'error':\n      break;\n  }\n}\n```\n\n# License\n\n  MIT","users":{}}