disposable

```javascript

npm install disposable
80 downloads in the last day
186 downloads in the last week
918 downloads in the last month

```javascript

var disposable = require("disposable")(), EventEmitter = require("events").EventEmitter, em = new EventEmitter();

disposable.addTimeout(setTimeout(function() {

}, 500));

disposable.addInterval(setInterval(function() {

}, 500));

disposable.add(em.on("end", function(){}), em.on("test", function(){}));

npm loves you