{"id":13596920,"url":"https://github.com/bugsnag/bugsnag-js","last_synced_at":"2025-05-12T13:21:42.056Z","repository":{"id":6788424,"uuid":"8035735","full_name":"bugsnag/bugsnag-js","owner":"bugsnag","description":"JavaScript error handling tool for BugSnag. Monitor and report JavaScript bugs \u0026 errors.","archived":false,"fork":false,"pushed_at":"2025-05-05T04:02:13.000Z","size":84868,"stargazers_count":866,"open_issues_count":82,"forks_count":257,"subscribers_count":46,"default_branch":"next","last_synced_at":"2025-05-08T00:51:39.734Z","etag":null,"topics":["browser","bug","bugs","bugsnag","crash-reporting","debug","debugging-tool","electron","error-handling","error-monitoring","error-reporting","error-stack-trace","exception-handling","exception-reporting","exceptions","javascript","javascript-errors","notifier","platforms","react-native"],"latest_commit_sha":null,"homepage":"https://docs.bugsnag.com/platforms/javascript","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bugsnag.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":".github/support.md","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2013-02-05T19:06:33.000Z","updated_at":"2025-04-28T10:37:33.000Z","dependencies_parsed_at":"2024-03-09T19:27:51.431Z","dependency_job_id":"b5e552d7-4d42-4325-a202-0ddaeaaa591b","html_url":"https://github.com/bugsnag/bugsnag-js","commit_stats":{"total_commits":4130,"total_committers":56,"mean_commits":73.75,"dds":0.7058111380145278,"last_synced_commit":"bc03ca7c1d5d7d12269d32a13b962b4c60f9f5d5"},"previous_names":[],"tags_count":321,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugsnag%2Fbugsnag-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugsnag%2Fbugsnag-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugsnag%2Fbugsnag-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugsnag%2Fbugsnag-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bugsnag","download_url":"https://codeload.github.com/bugsnag/bugsnag-js/tar.gz/refs/heads/next","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253418957,"owners_count":21905334,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["browser","bug","bugs","bugsnag","crash-reporting","debug","debugging-tool","electron","error-handling","error-monitoring","error-reporting","error-stack-trace","exception-handling","exception-reporting","exceptions","javascript","javascript-errors","notifier","platforms","react-native"],"created_at":"2024-08-01T16:02:57.222Z","updated_at":"2025-05-12T13:21:42.033Z","avatar_url":"https://github.com/bugsnag.png","language":"TypeScript","funding_links":[],"categories":["TypeScript","Services"],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://www.bugsnag.com/platforms/javascript\"\u003e\n    \u003cpicture\u003e\n      \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://assets.smartbear.com/m/3dab7e6cf880aa2b/original/BugSnag-Repository-Header-Dark.svg\"\u003e\n      \u003cimg alt=\"SmartBear BugSnag logo\" src=\"https://assets.smartbear.com/m/3945e02cdc983893/original/BugSnag-Repository-Header-Light.svg\"\u003e\n    \u003c/picture\u003e\n  \u003c/a\u003e\n  \u003ch1\u003eError monitoring \u0026 reporting for JavaScript\u003c/h1\u003e\n\u003c/div\u003e\n\n[![Documentation](https://img.shields.io/badge/documentation-latest-blue.svg)](https://docs.bugsnag.com/platforms/javascript/)\n[![Build status](https://badge.buildkite.com/3d7b170ff1190e95999586fb4e2c67edfbe70484a5c0ecfa70.svg)](https://buildkite.com/bugsnag/bugsnag-js)\n[![OpenSSF Scorecard](https://api.scorecard.dev/projects/github.com/bugsnag/bugsnag-js/badge)](https://scorecard.dev/viewer/?uri=github.com/bugsnag/bugsnag-js)\n\nAutomatically detect JavaScript errors in the browser, Node.js and React Native, 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.\n\nLearn more about [JavaScript error reporting](https://www.bugsnag.com/platforms/javascript/) and [React Native error reporting](https://www.bugsnag.com/platforms/react-native-error-reporting/) from Bugsnag.\n\n---\n\nThis is a monorepo (managed with [Lerna](https://lerna.js.org/) containing our universal error reporting client [`@bugsnag/js`](/packages/js), and our React Native client [`@bugsnag/react-native`](/packages/react-native), along with:\n\n- the core Bugsnag libraries for reporting errors ([`@bugsnag/core`](/packages/core))\n- plugins for supporting various frameworks (e.g. [`@bugsnag/plugin-react`](/packages/plugin-react))\n- plugins for internal functionality (e.g. [`@bugsnag/plugin-simple-throttle`](/packages/plugin-simple-throttle))\n\nEtc. See [packages](/packages) for a full list of contents.\n\n## Getting started\n\n1. [Create a Bugsnag account](https://www.bugsnag.com)\n2. Complete the instructions in the [integration guide](https://docs.bugsnag.com/platforms/javascript/)\n3. Report handled exceptions using\n   [`Bugsnag.notify()`](https://docs.bugsnag.com/platforms/javascript/#reporting-handled-exceptions)\n4. Customize your integration using the\n   [configuration options](https://docs.bugsnag.com/platforms/javascript/configuration-options/)\n\n## Integrating with frameworks\n\nUse the following plugins and guides to integrate Bugsnag with various frameworks.\n\n### Browser\n\n| Framework  | Bugsnag plugin | Documentation |\n| ---------- | -------------- | --------------|\n| Vue | [@bugsnag/plugin-vue](packages/plugin-vue) | [Vue docs](https://docs.bugsnag.com/platforms/javascript/vue)\n| React | [@bugsnag/plugin-react](packages/plugin-react) | [React docs](https://docs.bugsnag.com/platforms/javascript/react)\n| Angular | [@bugsnag/plugin-angular](packages/plugin-angular) | [Angular docs](https://docs.bugsnag.com/platforms/javascript/angular)\n\n### Desktop\n\n| Framework  | Bugsnag notifier | Documentation |\n| ---------- | ---------------- | --------------|\n| Electron   | [@bugsnag/electron](packages/electron) | [Electron docs](https://docs.bugsnag.com/platforms/electron) |\n\n### Server\n\n| Framework  | Bugsnag plugin | Documentation |\n| ---------- | -------------- | --------------|\n| Koa | [@bugsnag/plugin-koa](packages/plugin-koa)  | [Koa docs](https://docs.bugsnag.com/platforms/javascript/koa) |\n| Express | [@bugsnag/plugin-express](packages/plugin-express)  | [Express docs](https://docs.bugsnag.com/platforms/javascript/express) |\n| Restify | [@bugsnag/plugin-restify](packages/plugin-restify)  | [Restify docs](https://docs.bugsnag.com/platforms/javascript/restify) |\n\n### Mobile\n\n| Framework  | Bugsnag notifier | Documentation |\n| ---------- | -------------- | --------------|\n| React Native | [@bugsnag/react-native](packages/react-native) | [React Native docs](https://docs.bugsnag.com/platforms/react-native/react-native/) |\n\n## Support\n\n* Check out the [FAQ](https://docs.bugsnag.com/platforms/javascript/faq) and [configuration options](https://docs.bugsnag.com/platforms/javascript/configuration-options)\n* [Search open and closed issues](https://github.com/bugsnag/bugsnag-js/issues?q=+) for similar problems\n* [Report a bug or request a feature](https://github.com/bugsnag/bugsnag-js/issues/new/choose)\n\n## Contributing\n\nMost 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](CONTRIBUTING.md) for more information.\n\n## Development quick start\n\n```sh\n# Clone the repository\ngit clone git@github.com:bugsnag/bugsnag-js.git --recursive\ncd bugsnag-js\n\n# Install top-level dependencies\nnpm i\n\n# Build the standalone notifiers and plugins\nnpm run build\n\n# Run the unit tests\nnpm run test:unit\n\n# Run tests for a specific package\nnpm run test:unit -- --testPathPattern=\"packages/react-native\"\n\n# Generate a code coverage report\nnpm run test:unit -- --coverage\n\n# Run the linter\nnpm run test:lint\n\n# Run the typescript compatibility tests\nnpm run test:types\n```\n\nSee [contributing](CONTRIBUTING.md) for more information.\n\n## License\n\nAll packages in this repository are released under the MIT License. See [LICENSE.txt](./LICENSE.txt) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbugsnag%2Fbugsnag-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbugsnag%2Fbugsnag-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbugsnag%2Fbugsnag-js/lists"}