{"name":"re-emitter","description":"Re emit events from another emitter","version":"1.1.2","author":{"name":"Raynos","email":"raynos2@gmail.com"},"bugs":{"url":"https://github.com/feross/re-emitter/issues","email":"raynos2@gmail.com"},"contributors":[{"name":"Jake Verbaten"},{"name":"Feross Aboukhadijeh","email":"feross@feross.org","url":"http://feross.org/"}],"dependencies":{},"devDependencies":{"standard":"^6.0.7","tape":"^4.0.0","zuul":"^3.0.0"},"homepage":"https://github.com/feross/re-emitter","keywords":["reemit","re emit","re-emit","reemitter","filter events","events","emitter"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"git://github.com/feross/re-emitter.git"},"scripts":{"test":"standard && npm run test-node && npm run test-browser","test-browser":"zuul -- test/*.js","test-browser-local":"zuul --local -- test/*.js","test-node":"tape test/*.js"},"gitHead":"7465cf2121636cf4314632235513a665b37d86a4","_id":"re-emitter@1.1.2","_shasum":"aea565941ef60b8e1c71046cec7fada0c5434025","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.3.0","_npmUser":{"name":"feross","email":"feross@feross.org"},"dist":{"shasum":"aea565941ef60b8e1c71046cec7fada0c5434025","tarball":"http://registry-npm.ywwl.com/re-emitter/download/re-emitter-1.1.2.tgz","integrity":"sha512-oDnlHd5+KeeUp2xBJe8K4BzrxwRvcoktkBdSW+U7EmJCiZa+X8Xr8MB1dG0/oxjCNpJBZtWvqm3jbxGuLVOJGw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCplcrNt5r1rXtG6IdAlC2FJfIvBTMfAJHqbNfJB4ooXQIhALbZaiGZWfZrBBp1WoMyTNqBsOCHyBqnqMgcvlQc9t2W"}],"size":13349,"noattachment":false,"key":"/re-emitter/-/re-emitter-1.1.2.tgz"},"maintainers":[{"name":"feross","email":"feross@feross.org"}],"_npmOperationalInternal":{"host":"packages-6-west.internal.npmjs.com","tmp":"tmp/re-emitter-1.1.2.tgz_1456285982907_0.5609169849194586"},"directories":{},"readme":"# re-emitter [![travis][travis-image]][travis-url] [![npm][npm-image]][npm-url] [![downloads][downloads-image]][downloads-url] [![javascript style guide][standard-image]][standard-url]\n\n[travis-image]: https://img.shields.io/travis/feross/re-emitter/master.svg\n[travis-url]: https://travis-ci.org/feross/re-emitter\n[npm-image]: https://img.shields.io/npm/v/re-emitter.svg\n[npm-url]: https://npmjs.org/package/re-emitter\n[downloads-image]: https://img.shields.io/npm/dm/re-emitter.svg\n[downloads-url]: https://npmjs.org/package/re-emitter\n[standard-image]: https://img.shields.io/badge/code_style-standard-brightgreen.svg\n[standard-url]: https://standardjs.com\n\n#### Re emit events from another emitter\n\n![reemit](https://raw.githubusercontent.com/feross/re-emitter/master/img.jpg)\n\n[![Sauce Test Status](https://saucelabs.com/browser-matrix/magnet-uri.svg)](https://saucelabs.com/u/magnet-uri)\n\nWorks in node and the browser with [browserify](http://browserify.org/).\n\n[![js-standard-style](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard)\n\n### install\n\n```\nnpm install re-emitter\n```\n\n### usage\n\n```js\nvar reemit = require('re-emitter')\n\nvar emitter = new EventEmitter()\nvar other = new EventEmitter()\n\nreemit(emitter, other, ['foo', 'bar'])\n\nother.on('foo', function () {\n  // foo will fire on other emitter!\n})\n\nemitter.emit('foo')\n\nother.on('baz', function () {\n  // baz will not fire on other emitter\n})\n\nemitter.emit('baz')\n```\n\n#### canceling re-emitting\n\n`reemit` returns a `function`, which when called, cancels all re-emitting by removing the\nevent listeners which it added.\n\n### contributors\n\n- Raynos\n- Feross\n\n### license\n\nMIT. Copyright (c) Raynos.\n","publish_time":1456285983514,"_cnpm_publish_time":1456285983514,"dist-tags":{"latest":"1.1.4"}}