Skip to content
Javascript notifier for Bugsnag. Monitor and report JavaScript errors.
Branch: master
Clone or download
Pull request Compare This branch is 2 commits behind next.
Latest commit 5e241be Apr 23, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.buildkite Switch CI to buildkite (#476) Feb 7, 2019
bin fix: Patch #450 on to master Dec 19, 2018
examples
packages v6.2.0 Apr 23, 2019
test
.dockerignore Switch CI to buildkite (#476) Feb 7, 2019
.gitignore Switch CI to buildkite (#476) Feb 7, 2019
CHANGELOG.md chore: Update changelog for Expo release Apr 23, 2019
CONTRIBUTING.md Switch CI to buildkite (#476) Feb 7, 2019
Dockerfile.browser Switch CI to buildkite (#476) Feb 7, 2019
Dockerfile.ci Switch CI to buildkite (#476) Feb 7, 2019
Dockerfile.node Switch CI to buildkite (#476) Feb 7, 2019
README.md docs: Mention Expo in readme Apr 23, 2019
UPGRADING.md docs: Add 5 to 6 section in upgrade guide Feb 7, 2019
babel.config.js Initialize universal JS monorepo Jul 12, 2018
docker-compose.yml
lerna.json v6.2.0 Apr 23, 2019
package-lock.json chore: Lockfile bump Apr 3, 2019
package.json test(expo-types): Ensure expo types are bundled and tested with lates… Apr 18, 2019
tslint.json refactor: Change configuration logic to better support external plugins Aug 9, 2018

README.md

Bugsnag logo

Universal JavaScript error reporting.

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

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.

You can’t perform that action at this time.