• Stars
    star
    2
  • Language
    JavaScript
  • Created about 10 years ago
  • Updated about 10 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

LocalStorageEmitter

Emit and listen to events in localStorage following node EventEmitter API for cross-tab communication.

var emitter = new LocalStorageEmitter();

emitter.on('ping', function () {
  emitter.emit('pong');
});