Naughty Programmer's Madness
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

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())}
 

install

npm i emittable

Downloadsweekly downloads

10

version

0.0.6

license

ISC

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability