feature rich publish / subscribe module
** feature-rich publish / subscribe system. **
[Read the guide][guid] to learn how to use publisher.
publisher works as an AMD module, a Node.js module, or a plain object.
publisher.js in your application and require it as usual, it
Install with npm
npm install publisher
Include like everything else
var publisher = ;
If neither AMD nor Node.js are detected, publisher is global with a
noConflict that restores the previous
publisher definition and returns
the publisher object.
Copyright (c) Ryan Florence
Fork, create a topic branch, send a pull request :D
publisher has no dependencies, developing it does.
You'll need to install some stuff to run the tests and generate docs. There's
a script in
bin to help. First make sure you've got Node.js, npm, and
Python installed, then simply run from the repository root:
$ ./bin/run-tests # or $ tap test/test.js