@bugsnag/js

Universal Javascript error reporting. Automatically detect JavaScript errors in the browser and Node.js, with plugins for React, Vue, Angular, Express, Restify and Koa.

@bugsnag/js downloads @bugsnag/js version @bugsnag/js license

@bugsnag/jsSimilar Packages:

Npm Package Weekly Downloads Trend

3 Years
🌟 Show real-time usage chart on @bugsnag/js's README.md, just copy the code below.
## Usage Trend
[![Usage Trend of @bugsnag/js](https://npm-compare.com/img/npm-trend/THREE_YEARS/@bugsnag/js.png)](https://npm-compare.com/@bugsnag/js#timeRange=THREE_YEARS)

Cumulative GitHub Star Trend

🌟 Show GitHub stars trend chart on @bugsnag/js's README.md, just copy the code below.
## GitHub Stars Trend
[![GitHub Stars Trend of @bugsnag/js](https://npm-compare.com/img/github-trend/@bugsnag/js.png)](https://npm-compare.com/@bugsnag/js)

Stat Detail

Package
Downloads
Stars
Size
Issues
Publish
License
@bugsnag/js840,2578933.53 kB782 months agoMIT

README for @bugsnag/js

@bugsnag/js

Universal JavaScript notifier.

This package contains both @bugsnag/browser and @bugsnag/node and the appropriate one will be included in your application.

Node.js

In Node, importing '@bugsnag/js' will provide the @bugsnag/node module.

Browser

In various bundlers, importing '@bugsnag/js' will provide the @bugsnag/browser module.

BundlerSupport
BrowserifySupports the package.json "browser" field by default
WebpackSupports the package.json "browser" field by default
RollupSet browser: true in the node-resolve plugin

Note: by using this browser-specific entrypoint, none of the node-specific code will be included in your bundle.

License

This package is free software released under the MIT License. See LICENSE.txt for details.