{"_id":"emit-function","_rev":"9-ecc14d13984e7c11b260fbd6eaf50474","name":"emit-function","description":"because i get tired of typing EE.prototype.emit.bind.bind(EE.prototype.emit)","dist-tags":{"latest":"0.0.2"},"versions":{"0.0.0":{"name":"emit-function","version":"0.0.0","description":"because i get tired of typing EE.prototype.emit.bind.bind(EE.prototype.emit)","main":"index.js","scripts":{"test":"node test.js"},"repository":"","keywords":["emit","function"],"author":{"name":"Chris Dickinson","email":"chris@neversaw.us"},"license":"MIT","_id":"emit-function@0.0.0","readme":"ERROR: No README.md file found!","dist":{"shasum":"1be25ff0b767fee81f63f92ca53a684a62b76403","tarball":"https://registry.npmjs.org/emit-function/-/emit-function-0.0.0.tgz","integrity":"sha512-Z5DyZ3N+x7I2qf+7eC4RR2v+g3+0ZoLFBcXZwMFc9ughumXXHSf8LdOu/aI8TveYDidwuEAU+sGRkxtKYQNJFA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDgAafzWyJh4e0NDzra323QvxtnplLHt2tmd7BDM+e/wQIhAM9urS9753OSgyamHOMz+rD0B8Nhu5wsoF/P/wKfijay"}]},"_npmVersion":"1.1.69","_npmUser":{"name":"chrisdickinson","email":"chris@neversaw.us"},"maintainers":[{"name":"chrisdickinson","email":"chris@neversaw.us"}]},"0.0.1":{"name":"emit-function","version":"0.0.1","description":"because i get tired of typing EE.prototype.emit.bind.bind(EE.prototype.emit)","main":"index.js","scripts":{"test":"node test.js"},"repository":"","keywords":["emit","function"],"author":{"name":"Chris Dickinson","email":"chris@neversaw.us"},"license":"MIT","devDependencies":{"tape":"~0.2.2"},"readme":"# emit-function\n\nbecause I hate having to import `EventEmitter` and\ncall `EventEmitter.prototype.emit.bind.bind(EventEmitter.prototype.emit)`.\n\n```javascript\n\nvar EE = require('events').EventEmitter\n  , emit = require('emit-function')\n\nvar ee_1 = new EE\n  , ee_2 = new EE\n\nee_1.on('data', emit(ee_2, 'data'))\n\n```\n\n## api\n\n#### emit(eventemitter, eventName[, curryArg1...curryArgN]) -> function\n\nCreates a function that, when called, calls `emit` on `eventemitter`\nwith `eventName`. Curried args are placed at the front, args added by\ncalling the function are added after the curried args. Allows easy\nforwarding of events from emitter to emitter.\n\n# license\n\nMIT\n","readmeFilename":"README.md","_id":"emit-function@0.0.1","dist":{"shasum":"3516b83231ed9a0c1a81bfb2bd6b6f23a5d88620","tarball":"https://registry.npmjs.org/emit-function/-/emit-function-0.0.1.tgz","integrity":"sha512-nasju01Q/qUFrMUoV8yNDHV98hZJACberoHM4rel9vWuX9JNMYA6v9AaFUaqARbxMSdZO0Oi9deGFK66MVM03Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDJ3u4N6hR3MyNYjdZGjnx2BDmTvXNrvD4Yf3/IW6EQUwIhAPv91Qx5CSYxmHMrSCzoM4CeAqM4G34/uQMIUGcVAVP5"}]},"_npmVersion":"1.1.69","_npmUser":{"name":"chrisdickinson","email":"chris@neversaw.us"},"maintainers":[{"name":"chrisdickinson","email":"chris@neversaw.us"}]},"0.0.2":{"name":"emit-function","version":"0.0.2","description":"because i get tired of typing EE.prototype.emit.bind.bind(EE.prototype.emit)","main":"index.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"git://github.com/chrisdickinson/emit-function.git"},"keywords":["emit","function"],"author":{"name":"Chris Dickinson","email":"chris@neversaw.us"},"license":"MIT","devDependencies":{"tape":"~0.2.2"},"readme":"# emit-function\n\nbecause I hate having to import `EventEmitter` and\ncall `EventEmitter.prototype.emit.bind.bind(EventEmitter.prototype.emit)`.\n\n```javascript\n\nvar EE = require('events').EventEmitter\n  , emit = require('emit-function')\n\nvar ee_1 = new EE\n  , ee_2 = new EE\n\nee_1.on('data', emit(ee_2, 'data'))\n\n```\n\n## api\n\n#### emit(eventemitter, eventName[, curryArg1...curryArgN]) -> function\n\nCreates a function that, when called, calls `emit` on `eventemitter`\nwith `eventName`. Curried args are placed at the front, args added by\ncalling the function are added after the curried args. Allows easy\nforwarding of events from emitter to emitter.\n\n# license\n\nMIT\n","readmeFilename":"README.md","_id":"emit-function@0.0.2","dist":{"shasum":"e3a50b3d61be1bf8ca88b924bf713157a5bec124","tarball":"https://registry.npmjs.org/emit-function/-/emit-function-0.0.2.tgz","integrity":"sha512-WRHUvrW3lcV45D+IQ9F3Wro5jFjnJcX82IQHo0r47gkajeMEKpJPUeQ4BgbyUb1T1dT17XFkgPwwrg4owU0fRw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDl9Rjt8xr1dacztWmYfHkaPMbUbGsrEbC5vgUJNYk0fQIhAJqmTawWZSjqBAhikxPtaRMZHkh6jbpIv92szXteA4Zy"}]},"_npmVersion":"1.1.69","_npmUser":{"name":"chrisdickinson","email":"chris@neversaw.us"},"maintainers":[{"name":"chrisdickinson","email":"chris@neversaw.us"}]}},"readme":"ERROR: No README.md file found!","maintainers":[{"name":"chrisdickinson","email":"chris@neversaw.us"}],"time":{"modified":"2022-06-17T01:55:54.283Z","created":"2013-03-02T08:28:37.755Z","0.0.0":"2013-03-02T08:28:38.514Z","0.0.1":"2013-03-02T20:33:34.715Z","0.0.2":"2013-03-02T20:34:54.028Z"},"author":{"name":"Chris Dickinson","email":"chris@neversaw.us"},"repository":{"type":"git","url":"git://github.com/chrisdickinson/emit-function.git"}}