emitter
Faster events controller for class and object
Installation
$ npm install emitter
Example
// Extend a objectlet obj = /* ... */ EventEmitter // Create a new emitterlet emitter = // Define a class extend from Promise or EventEmitter // ...
API
- emitter.Promise()
- emitter.EventEmitter()
Contributing
- Fork this Repo first
- Clone your Repo
- Install dependencies by
$ npm install
- Checkout a feature branch
- Feel free to add your features
- Make sure your features are fully tested
- Publish your local branch, Open a pull request
- Enjoy hacking <3
built upon love by docor v0.3.0