Skip to content

Micro-library for handling uncaught exceptions for nodejs

License

Notifications You must be signed in to change notification settings

Cawllec/tiny-crash-reporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Micro-library for handling uncaught exceptions for nodejs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published