tiny-crash-reporter

1.0.3 • Public • Published

Micro-library for handling uncaught exceptions for node

Installation

$ npm install tiny-crash-reporter

Usage

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

Examples

The libraries functionality is demonstrated in the example.js file found in the node_modules folder

Readme

Keywords

none

Package Sidebar

Install

npm i tiny-crash-reporter

Weekly Downloads

4

Version

1.0.3

License

none

Last publish

Collaborators

  • cawllec