All Projects → feross → re-emitter

feross / re-emitter

Licence: MIT license
Re emit events from another emitter

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to re-emitter

dead-simple
💀💡 Dead simple PubSub and EventEmitter in JavaScript
Stars: ✭ 21 (+16.67%)
Mutual labels:  emitter
http-emitter
📡 Emitting psr-7 responses.
Stars: ✭ 31 (+72.22%)
Mutual labels:  emitter
javascript
Nodejs MQTT client for emitter.io.
Stars: ✭ 27 (+50%)
Mutual labels:  emitter
phaser-particle-editor-plugin
This plugin creates particles based on JSON data generated by Phaser Particle Editor
Stars: ✭ 28 (+55.56%)
Mutual labels:  emitter
Emitter
High performance, distributed and low latency publish-subscribe platform.
Stars: ✭ 3,130 (+17288.89%)
Mutual labels:  emitter
events
Event emitter with asynchronous events.
Stars: ✭ 12 (-33.33%)
Mutual labels:  emitter
BioBalanceDetector
Bio Balance Detector's products aim to show the weak electromagnetic fields around every living being (including plants, animals and humans) and display it in a heat-map like hyper-spectral image.
Stars: ✭ 18 (+0%)
Mutual labels:  emitter
figma-messenger
Type-safe communication for good 🧐.
Stars: ✭ 24 (+33.33%)
Mutual labels:  emitter
micell
A collection of functions for front-end development
Stars: ✭ 16 (-11.11%)
Mutual labels:  emitter
observable ish
Observable state and events for browser and Flutter.
Stars: ✭ 26 (+44.44%)
Mutual labels:  emitter
python
No description or website provided.
Stars: ✭ 22 (+22.22%)
Mutual labels:  emitter
emitter-queue
😴 Queue emitter events
Stars: ✭ 16 (-11.11%)
Mutual labels:  emitter

re-emitter travis npm downloads javascript style guide

Re emit events from another emitter

reemit

Sauce Test Status

Works in node and the browser with browserify.

js-standard-style

install

npm install re-emitter

usage

var reemit = require('re-emitter')

var emitter = new EventEmitter()
var other = new EventEmitter()

reemit(emitter, other, ['foo', 'bar'])

other.on('foo', function () {
  // foo will fire on other emitter!
})

emitter.emit('foo')

other.on('baz', function () {
  // baz will not fire on other emitter
})

emitter.emit('baz')

canceling re-emitting

reemit returns a function, which when called, cancels all re-emitting by removing the event listeners which it added.

contributors

  • Raynos
  • Feross

license

MIT. Copyright (c) Raynos.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].