@freddsomm/bug-buster
v0.0.15
Published
Monitor, manage and prioritise your JS Anomalies easily.
Downloads
2
Readme
Bug Buster for Node
Welcome to Bug Buster!
Easily monitor, manage, and prioritize your JavaScript anomalies.
Installation
Using npm
npm install @freddsomm/bug-buster
Using Yarn
yarn add @freddsomm/bug-buster
Using pnpm
pnpm install @freddsomm/bug-buster
Importing
CommonJS Syntax
const BugBuster = require('@freddsomm/bug-buster');
ES Module Syntax
import { BugBuster } from '@freddsomm/bug-buster';
Usage
const bugBuster = new BugBuster({
apiKey: 'YOUR-API-KEY',
projectId: 'clwaoduy20003oiey0jya3p69',
});
try {
throw new Error('Test Error: bad thing happened!');
} catch (error) {
bugBuster.capture(error);
}
Links
For more information, check out the Official Bug Buster Documentation. More documentation will follow.