This is a high performance JavaScript implementation of the publish-subscribe pattern.
TypeScript Example
src/example.ts
JavaScript Example
build/javascript/example.js
Two versions of the compiled JavaScript publish-subscribe library are available.
Normal version
build/javascript/publish-subscribe-library.js
Minified version
build/javascript/publish-subscribe-library.min.js
This assumes the TypeScript compiler is installed.
1. Install Node.js Dependencies
npm install
2. Build the project using Gulp
gulp
See examples.
James Carmichael de Klerk @jamesdeklerk