{"library":"report-to","type":"library","category":null,"description":"This package provides Express.js middleware for setting the HTTP `Report-To` response header, crucial for client-side error reporting via browser APIs. Currently at version 1.1.0, it appears to be in a maintenance phase with no major updates since 2021. Its primary function is to configure reporting endpoints for various browser features, such as `Content-Security-Policy` (CSP) violation reports, Network Error Logging (NEL), or Intervention Reports. A key differentiator is its focus solely on configuring the `Report-To` header, rather than implementing the reporting mechanisms themselves. This design choice means it requires integration with other modules (e.g., `network-error-logging` for NEL) to make the reporting functional. The module offers a structured way to define report groups, `max_age`, `include_subdomains`, and multiple prioritized endpoints, adhering to the W3C Reporting API specification.","language":"javascript","status":"maintenance","version":"1.1.0","tags":["javascript","connect","express","middleware","report-to","reportTo","typescript"],"install":[{"cmd":"npm install report-to","imports":["import reportTo from 'report-to';","const reportTo = require('report-to');","import type { ReportToOptions } from 'report-to';"]},{"cmd":"yarn add report-to","imports":[]},{"cmd":"pnpm add report-to","imports":[]}],"homepage":null,"github":"https://github.com/Cherry/report-to","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/report-to","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/report-to/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Wed Jul 22","install_tag":null}}