emittable

0.0.6 • Public • Published

Emittable

A Function Wrapper with promise-like syntax for callback chaining, using eventEmitters at its core.

Usage

npm install emittable

- OR -

git clone https://github.com/RebelMail/emittable.git
cd emittable
npm install
npm test
 
var Emittable = require('emittable');
 
fs.readFile
    .emit('./package.json')
    .then(msg)
    .catch(function(e){
        throw e;
    });
 
function msg(msg){console.log(msg.toString())}
 

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.66latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.66
0.0.41
0.0.31
0.0.21
0.0.11

Package Sidebar

Install

npm i emittable

Weekly Downloads

10

Version

0.0.6

License

ISC

Last publish

Collaborators

  • trever