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

https://github.com/nuxodin/reporter.js

Application monitoring / Troubleshooting
https://github.com/nuxodin/reporter.js

deno error-handling javascript monitoring notifications reporting reportingobserver troubleshooting website-monitoring

Last synced: 5 months ago
JSON representation

Application monitoring / Troubleshooting

Awesome Lists containing this project

README

          

# reporter.js
Application monitoring / Troubleshooting

Reporter.js is a JavaScript library for monitoring websites and Deno applications. It enables you to send notifications to a server for different types of events such as JS errors, unhandled rejections, console calls (error/warn/debug), and ReportingObserver. With reporter.js, you can track issues in your website or Deno application and resolve them quickly, improving your user experience.

## Features
Send different types of notifications to a server
- js errors
- unhandles rejections
- console calls (error/warn/debug)
- ReportingObserver

## Install

### In your website

```html

// as it should be loaded as fast as possible, it makes sens to load it not as a module
window.reporterJsOptions = {
// reporting-url
url: 'https://example.com/errors',
// max reportings to send
max: 50,
}

```

### In deno

```js
window.reporterJsOptions = {
url: 'https://example.com/reporter.php',
max: 50,
}
import 'https://cdn.jsdelivr.net/gh/nuxodin/reporter.js/mod.js';
```

## Usage

```js
console.warn('test') // will be send to the server
```