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
- Host: GitHub
- URL: https://github.com/nuxodin/reporter.js
- Owner: nuxodin
- Created: 2023-04-07T14:25:16.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-07T22:55:50.000Z (about 3 years ago)
- Last Synced: 2025-10-30T18:32:43.250Z (8 months ago)
- Topics: deno, error-handling, javascript, monitoring, notifications, reporting, reportingobserver, troubleshooting, website-monitoring
- Language: JavaScript
- Homepage:
- Size: 9.77 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```