Skip to content

Latest commit

 

History

History
100 lines (67 loc) · 3.69 KB

README.md

File metadata and controls

100 lines (67 loc) · 3.69 KB

Wrapper to handle completion and errors of sync and async functions, promises, generators, streams, observables and child processes.

Install

npm i merz --save

Usage

For more use-cases see the tests

var fs = require('fs')
var merz = require('merz')

var readFile = merz(fs.readFile)

fn('package.json', 'utf8', console.log)

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
But before doing anything, please read the CONTRIBUTING.md guidelines.

tunnckocore.tk keybase tunnckocore tunnckoCore npm tunnckoCore twitter tunnckoCore github