Simple module to curry functions with similar errback
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
index.js
package.json

README.md

Use like this:

var errbacker = require('errbacker')
var errback = console.error

var callback = console.log //your function where you want to push results

var withoutErrors = errbacker.curry(errback)
fs.stat('/tmp', withoutErrors(callback))