Micro-library for handling uncaught exceptions for node
$ npm install tiny-crash-reporter
TinyCrashReporter consists of a single API call with a single boolean option. Simple require the module into your code and execute the modules function.
const TinyCrashReporter = require('tiny-crash-reporter');
TinyCrashReporter();
This initialises the module and will start it handling your uncaught exceptions.
TinyCrashReporter accepts one argument:
stopExcecution
: Tells the module to end the process when an exception is handled. Default: true
The libraries functionality is demonstrated in the example.js file found in the node_modules folder