{"id":20942205,"url":"https://github.com/getstation/apollo-server-plugin-bugsnag","last_synced_at":"2025-06-27T11:35:34.660Z","repository":{"id":40724242,"uuid":"253785150","full_name":"getstation/apollo-server-plugin-bugsnag","owner":"getstation","description":"apollo-server plugin that sends errors to bugsnag","archived":false,"fork":false,"pushed_at":"2022-06-25T11:47:35.000Z","size":31,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-19T21:15:45.229Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/getstation.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-07T12:23:20.000Z","updated_at":"2021-08-20T11:31:28.000Z","dependencies_parsed_at":"2022-08-19T07:00:33.333Z","dependency_job_id":null,"html_url":"https://github.com/getstation/apollo-server-plugin-bugsnag","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getstation%2Fapollo-server-plugin-bugsnag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getstation%2Fapollo-server-plugin-bugsnag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getstation%2Fapollo-server-plugin-bugsnag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getstation%2Fapollo-server-plugin-bugsnag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/getstation","download_url":"https://codeload.github.com/getstation/apollo-server-plugin-bugsnag/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243335382,"owners_count":20274898,"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":[],"created_at":"2024-11-18T23:24:29.207Z","updated_at":"2025-03-13T03:43:37.817Z","avatar_url":"https://github.com/getstation.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Usage\n```typescript\nimport { getApolloBugsnagPlugin } from 'apollo-server-plugin-bugsnag';\n\n...\nconst server = new ApolloServer({\n  ...,\n  plugins: [\n    getApolloBugsnagPlugin(\n      // error callback\n      (event, requestContext) =\u003e {\n        // my context has a `state` object that I can use to enchance\n        // notify calls\n        return {\n          user: requestContext.state.user,\n        };\n      }\n    )\n  ],\n});\n```\n\n## Install\n```shell script\n# via npm\nnpm install apollo-server-plugin-bugsnag\n# or via yarn\nyarn add apollo-server-plugin-bugsnag\n```\n\n### If using bugsnag 6.x\n```shell script\n# via npm\nnpm install apollo-server-plugin-bugsnag@1.0.0\n# or via yarn\nyarn add apollo-server-plugin-bugsnag@1.0.0\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetstation%2Fapollo-server-plugin-bugsnag","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgetstation%2Fapollo-server-plugin-bugsnag","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetstation%2Fapollo-server-plugin-bugsnag/lists"}