noder-eventemitter2
Plugin for Noder.io that provides the module eventemitter2 in the API (noder
object) and/or $di
container.
Install
npm install --save noder-eventemitter2
Usage
noder
To add eventemitter2
in your API
noder$di; // now, your API is an event emitternoder
To add eventemitter2
in the $di
container
noder$di; // now, your $di container is an event emitternoder$di
See the doc of eventemitter2 📘
Unit Tests
This plugin is fully tested with Unit.js and Mocha.
License
MIT (c) 2013, Nicolas Tallefourtane.
Author
Nicolas Talle |