# Bugsnag error reporter for JavaScript
![9.42kB](https://img.shields.io/badge/size-9.42kB-green.svg)
![API status](https://img.shields.io/badge/api-unstable-yellow.svg)
[![Documentation](https://img.shields.io/badge/docs-v4-green.svg)](https://deploy-preview-509--docs-bugsnag.netlify.com/platforms/browsers/v4/)
[![Build status](https://travis-ci.org/bugsnag/bugsnag-js.svg?branch=v4)](https://travis-ci.org/bugsnag/bugsnag-js)
[![BrowserStack Status](https://www.browserstack.com/automate/badge.svg?badge_key=VkNhNGlWRTV6c1Z1VXByYmxFTCtwbUd4M1p5cUI3KzFWRTJvaWk3WFZBTT0tLTBNZjFuM2ZJbW0vUDBPZ1pMQ3ZCd2c9PQ==--003c472323b43561f74fdbca9f732de0f609c74c)](https://www.browserstack.com/automate/public-build/VkNhNGlWRTV6c1Z1VXByYmxFTCtwbUd4M1p5cUI3KzFWRTJvaWk3WFZBTT0tLTBNZjFuM2ZJbW0vUDBPZ1pMQ3ZCd2c9PQ==--003c472323b43561f74fdbca9f732de0f609c74c)
[![NPM](https://img.shields.io/npm/v/bugsnag-js.svg)](https://npmjs.org/package/bugsnag-js)

[![NPM](https://nodei.co/npm/bugsnag-js.png?compact=true)](https://npmjs.org/package/bugsnag-js)

The Bugsnag error reporter for JavaScript automatically detects and reports errors.

__`v4` is a work in progress.__ The current version `v3.x` lives on `master`.

## Getting started

1. [Create a Bugsnag account](https://bugsnag.com)
2. Complete the instructions in the [integration guide](https://deploy-preview-509--docs-bugsnag.netlify.com/platforms/browsers/v4/)
3. Report handled exceptions using
   [`client.notify()`](https://deploy-preview-509--docs-bugsnag.netlify.com/platforms/browsers/v4#reporting-handled-exceptions)
4. Customize your integration using the
   [configuration options](https://deploy-preview-509--docs-bugsnag.netlify.com/platforms/browsers/v4/configuration-options/)

## Support

* Check out the [FAQ](https://docs.bugsnag.com/platforms/browsers/faq/) and [configuration options](https://docs.bugsnag.com/platforms/browsers/configuration-options/)
* [Search open and closed issues](https://github.com/bugsnag/bugsnag-js/issues?q=is%3Aissue) for similar problems
* [Report a bug or request a feature](https://github.com/bugsnag/bugsnag-js/issues/new)

## Contributing

All contributors are welcome! For information on how to build, test, and release
`bugsnag-js`, see our
[contributing guide](CONTRIBUTING.md).

## License

The Bugsnag JS library is free software released under the MIT License. See
[LICENSE.txt](LICENSE.txt) for
details.
