{"id":14973331,"url":"https://github.com/nextfaze/angular-rollbar","last_synced_at":"2025-10-26T23:30:36.493Z","repository":{"id":57143832,"uuid":"87131408","full_name":"NextFaze/angular-rollbar","owner":"NextFaze","description":"Rollbar logging service for Angular 2+","archived":false,"fork":false,"pushed_at":"2020-07-21T12:35:15.000Z","size":28,"stargazers_count":14,"open_issues_count":6,"forks_count":3,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-02-01T01:09:37.287Z","etag":null,"topics":["angular","angular-2","angular2","logging","rollbar"],"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/NextFaze.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-04-03T23:47:09.000Z","updated_at":"2022-07-07T19:08:23.000Z","dependencies_parsed_at":"2022-09-06T00:11:09.515Z","dependency_job_id":null,"html_url":"https://github.com/NextFaze/angular-rollbar","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NextFaze%2Fangular-rollbar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NextFaze%2Fangular-rollbar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NextFaze%2Fangular-rollbar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NextFaze%2Fangular-rollbar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NextFaze","download_url":"https://codeload.github.com/NextFaze/angular-rollbar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238408657,"owners_count":19467149,"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":["angular","angular-2","angular2","logging","rollbar"],"created_at":"2024-09-24T13:48:33.982Z","updated_at":"2025-10-26T23:30:36.109Z","avatar_url":"https://github.com/NextFaze.png","language":"TypeScript","readme":"# Angular (2+) Rollbar Integration\n\n[![Build Status](https://travis-ci.org/NextFaze/angular-rollbar.svg?branch=master)](https://travis-ci.org/NextFaze/angular-rollbar) [![Coverage Status](https://coveralls.io/repos/github/NextFaze/angular-rollbar/badge.svg?branch=master)](https://coveralls.io/github/NextFaze/angular-rollbar?branch=master)\n\nThis package provides an Angular 2+ service for logging to Rollbar.\n\n## Installation\n\n    npm install angular-rollbar\n\n### Dependencies\n\nThis module relies on the official `rollbar-browser` npm package. In addition, it has Angular \u003e= 2 as a peer dependency.\n\n## Usage\n\n### Bootstrap the module\n\n```ts\nimport { RollbarModule, RollbarService } from 'angular-rollbar'\n\nNgModule({\n    imports: [\n        RollbarModule.forRoot({\n            accessToken: 'YOUR ROLLBAR CLIENT TOKEN'\n        })\n    ],\n    providers: [\n        { provide: ErrorHandler, useClass: RollbarService }\n    ]\n})\nexport class MyAngularApp {}\n\n```\n\n### Use the service\n\nLet the Angular DI do all the magic for you.\n\n```ts\nimport { Component } from '@angular/core'\nimport { RollbarService } from 'angular-rollbar';\n\n@Component(...)\nexport class MyComponent {\n\n    constructor (rollbar: RollbarService) {\n        rollbar.info('Logging to Rollbar!');\n    }\n}\n```\n\n## Development\n\nWe are using Angular CLI to make things a little bearable.\n\n```sh\nnpm install\nnpm test\n```\n\n## Disclaimer\n\nThis project is not affiliated in anyway with Rollbar Inc. We do like their\nservice though.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnextfaze%2Fangular-rollbar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnextfaze%2Fangular-rollbar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnextfaze%2Fangular-rollbar/lists"}