Skip to content
A Function Wrapper with promise-like syntax for callback chaining, using eventEmitters at its core.
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
README.md
index.js
package.json
test.js
test2.js

README.md

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())}
You can’t perform that action at this time.