Package Exports
- express-security.txt
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (express-security.txt) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
node-security.txt
Usage
Install with:
npm i express-security.txt -SAdd to your app with:
const express = require('express')
const securityTxt = require('express-security.txt')
const app = express()
app.get('/security.txt', securityTxt({
// your security address
contact: [
'mailto:email@example.com',
'tel:+123456789'
],
// your pgp key
encryption: https://example.com/security.gpg',
// if you have a hall of fame for securty resourcers, include link here
acknowledgements: 'https://acknowledgements.example.com'
}))