Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

@bugsnag/js

5.1.0 • Public • Published

@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.

Bundler Support
Browserify Supports the package.json "browser" field by default
Webpack Supports the package.json "browser" field by default
Rollup Set 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

MIT

install

npm i @bugsnag/js

Downloadsweekly downloads

50,399

version

5.1.0

license

MIT

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
Report a vulnerability