Emity
A simple event system library. Supports Browser or Node environments.
Installation
npm install emity
bower install emity
Usage
var Emity = ; // For node var emity = ;var context = {}; ## Onemity; ## Emitemity; // performs do something emity; emity; // nothing happens ## Offemity; // remove all eventsemity; // remove all events ## Onceemity; emity; // will perform somethingemity; // nothing happens
Contribution & Setup
- git clone
git@github.com:djalmaaraujo/emity.git
- npm install
- Run the tests: npm test
- Watch for file changes: npm run watch
License
MIT License © Djalma Araújo
cc company - Code Consultants and Open Source Coding