Home

Awesome

catchup npmjs.com The MIT License

Graceful error handling. Because core domain module is deprecated. Shares almost the same API.

code climate standard code style travis build status coverage status dependency status

Install

npm i catchup --save

Usage

For more use-cases see the tests

var fs = require('fs')
var domain = require('catchup').create()

domain.once('error', function (err) {
  console.log('central error handling, ftw!', err)
})
domain.run(function () {
  fs.createReadStream('not_existing_file')
})

Related

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.

Charlike Make Reagent new message to charlike freenode #charlike

tunnckocore.tk keybase tunnckocore tunnckoCore npm tunnckoCore twitter tunnckoCore github