{"dist":{"shasum":"e3a50b3d61be1bf8ca88b924bf713157a5bec124","tarball":"https://registry.npmjs.org/emit-function/-/emit-function-0.0.2.tgz","integrity":"sha512-WRHUvrW3lcV45D+IQ9F3Wro5jFjnJcX82IQHo0r47gkajeMEKpJPUeQ4BgbyUb1T1dT17XFkgPwwrg4owU0fRw==","signatures":[{"sig":"MEYCIQDl9Rjt8xr1dacztWmYfHkaPMbUbGsrEbC5vgUJNYk0fQIhAJqmTawWZSjqBAhikxPtaRMZHkh6jbpIv92szXteA4Zy","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","name":"emit-function","author":{"name":"Chris Dickinson","email":"chris@neversaw.us"},"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","license":"MIT","scripts":{"test":"node test.js"},"_npmUser":{"name":"chrisdickinson","email":"chris@neversaw.us"},"keywords":["emit","function"],"repository":{"url":"git://github.com/chrisdickinson/emit-function.git","type":"git"},"_npmVersion":"1.1.69","description":"because i get tired of typing EE.prototype.emit.bind.bind(EE.prototype.emit)","maintainers":[{"name":"chrisdickinson","email":"chris@neversaw.us"}],"readmeFilename":"README.md","devDependencies":{"tape":"~0.2.2"},"_id":"emit-function@0.0.2","version":"0.0.2"}