Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/listepo/raven-angular

Raven library for Angular
https://github.com/listepo/raven-angular

angular angular6 error-handling raven ravenjs

Last synced: 8 days ago
JSON representation

Raven library for Angular

Awesome Lists containing this project

README

        

# Raven library for Angular

## Installation

```bash
npm i @angular-community/raven
```
or

```bash
yarn add @angular-community/raven
```
### Configuration

```typescript
// [your-app-path]/src/app/app.module.ts
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { RavenModule } from '@angular-community/raven';

import { AppComponent } from './app.component';

// @NgModule decorator with its metadata
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
RavenModule.forRoot('{{ DSN }}', options)
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }

```