Network Error Logging
This is Express middleware to set the NEL
HTTP response header. You can read more about it here.
To use:
const NEL = // ... app
For further documentation on each field, see https://w3c.github.io/network-error-logging/#nel-response-header.
This header is best set with a previously defined Report-To
group. This module is a great way to do that.
https://report-uri.com/ is a great reporting platform for monitoring CSP, NEL, etc. error logs.