catchi

1.0.0-bΒ β€’Β PublicΒ β€’Β Published

Catchi

πŸŽ‰ An easy and light-weight solution to uncaught errors!


Usage

$ npm install catchi

After installing catchi from your command line, import it into your javascript project.

require("catchi")();

setTimeout(() => {
    console.log("still alive!");
}, 1000)

throw "uncaught error";

output:

still alive!

Arguments

require("catchi")(
    callback?: (err: Error) => void,
    exit?: boolean,
    process?: NodeJS.Process
)

Package Sidebar

Install

npm i catchi

Weekly Downloads

2

Version

1.0.0-b

License

ISC

Unpacked Size

1.35 kB

Total Files

3

Last publish

Collaborators

  • ephf