@bugsnag/js
TypeScript icon, indicating that this package has built-in type declarations

8.1.2 • 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

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

Package Sidebar

Install

npm i @bugsnag/js

Weekly Downloads

284,753

Version

8.1.2

License

MIT

Unpacked Size

3.53 kB

Total Files

6

Last publish

Collaborators

  • joshedney
  • ahmed_bugsnag
  • gingerbenw
  • bullmo
  • foygl
  • djskinner
  • tomlongridge
  • imjoehaines
  • twometresteve