{"name":"re-emitter","version":"0.0.1","description":"Re emit events from another emitter","keywords":[],"author":{"name":"Raynos","email":"raynos2@gmail.com"},"repository":{"type":"git","url":"git://github.com/Raynos/re-emitter.git"},"main":"index","homepage":"https://github.com/Raynos/re-emitter","contributors":[{"name":"Jake Verbaten"}],"bugs":{"url":"https://github.com/Raynos/re-emitter/issues","email":"raynos2@gmail.com"},"dependencies":{},"devDependencies":{},"licenses":[{"type":"MIT","url":"http://github.com/Raynos/re-emitter/raw/master/LICENSE"}],"scripts":{},"_id":"re-emitter@0.0.1","dist":{"shasum":"63e471d9907c297a6e6c6571f9b6088ed051273b","tarball":"http://registry-npm.ywwl.com/re-emitter/download/re-emitter-0.0.1.tgz","integrity":"sha512-tb5FlmnsUdfdTBDUfEpZ2e+bMtp5mpXDQ+QM3nEgUUhoD5SNcxjjyDhearj2GasBd73ul6rfBfTrfAReGxEGpA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGkGOgzPx19iZtuYg/910atTIcbf8APmXvpOapKp/SCYAiEA+POVCJhRNdIoU++VoHfO7WLVUO0sQDLkLMNGR6a1PuQ="}],"size":1659,"noattachment":false,"key":"/re-emitter/-/re-emitter-0.0.1.tgz"},"_npmVersion":"1.1.49","_npmUser":{"name":"raynos","email":"raynos2@gmail.com"},"maintainers":[{"name":"raynos","email":"raynos2@gmail.com"}],"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":1346124382880,"_cnpm_publish_time":1346124382880,"dist-tags":{"latest":"1.1.4"}}