bugsnag-js

Javascript error handling tool for Bugsnag. Monitor and report JavaScript bugs & errors.

Bugsnag error monitoring & reporting for JavaScript

Automatically detect JavaScript errors in the browser, Node.js and Expo, 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 and our Expo client @bugsnag/expo, along with:

Etc. 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, ### Mobile, Framework, Bugsnag notifier, Documentation, ----------, --------------, --------------, Expo, @bugsnag/expo, Expo docs, React Native, bugsnag-react-native (lives in a separate repo), React Native 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

# Clone the repository
git clone git@github.com:bugsnag/bugsnag-js.git
cd bugsnag-js

# Install top-level dependencies
npm i

# Bootstrap all of the packages
npm run bootstrap

# Build the standalone notifiers and plugins
npm run build

# Run the unit tests
npm run test:unit

# Run the linter
npm run test:lint

# Run the typescript compatibility tests
npm run test:types

See contributing for more information.

License

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

主要指標

概覽
名稱與所有者bugsnag/bugsnag-js
主編程語言TypeScript
編程語言HTML (語言數: 18)
平台
許可證MIT License
所有者活动
創建於2013-02-05 19:06:33
推送於2025-06-13 14:28:28
最后一次提交
發布數322
最新版本名稱v8.3.2 (發布於 2025-04-24 14:53:19)
第一版名稱v0.1.0 (發布於 )
用户参与
星數871
關注者數46
派生數256
提交數6k
已啟用問題?
問題數617
打開的問題數58
拉請求數1572
打開的拉請求數34
關閉的拉請求數238
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?