Ajiaxi / bugsnag-js

Javascript notifier for Bugsnag. Monitor and report JavaScript errors.

Home Page:https://docs.bugsnag.com/platforms/browsers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bugsnag logo

Universal JavaScript error reporting.

Automatically detect JavaScript errors in the browser and Node.js, with plugins for React, Vue, Angular, Express, Restify and Koa. Get cross-platform error detection for handled and unhandled errors with real-time error alerts and detailed diagnostic reports.

Learn more about JavaScript error reporting from Bugsnag.


This is a monorepo (managed with Lerna) containing our universal error reporting client: @bugsnag/js, along with:

See packages for a full list of contents.

Getting started

  1. Create a Bugsnag account
  2. Complete the instructions in the integration guide
  3. Report handled exceptions using bugsnagClient.notify()
  4. Customize your integration using the configuration options

Integrating with frameworks

Use the following plugins and guides to integrate Bugsnag with various frameworks.

Browser

Framework Bugsnag plugin Documentation
Vue @bugsnag/plugin-vue Vue docs
React @bugsnag/plugin-react React docs
Angular @bugsnag/plugin-angular Angular docs

Server

Framework Bugsnag plugin Documentation
Koa @bugsnag/plugin-koa Koa docs
Express @bugsnag/plugin-express Express docs
Restify @bugsnag/plugin-restify Restify docs

Support

Contributing

Most updates to this repo will be made by Bugsnag employees. We are unable to accommodate significant external PRs such as features additions or any large refactoring, however minor fixes are welcome. See contributing for more information.

Development quick start

git clone git@github.com:bugsnag/bugsnag-js.git
cd bugsnag-js
npm i
npx lerna bootstrap
npx lerna run build
cd packages/browser && bundle
cd ../node && bundle

See contributing for more information.

License

All packages in this repository are released under the MIT License.

About

Javascript notifier for Bugsnag. Monitor and report JavaScript errors.

https://docs.bugsnag.com/platforms/browsers


Languages

Language:JavaScript 66.4%Language:Gherkin 17.5%Language:HTML 9.0%Language:Ruby 3.7%Language:TypeScript 2.3%Language:Dockerfile 0.9%Language:Shell 0.2%Language:CSS 0.0%