Skip to content

gergelyke/express-security.txt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

NPM

node-security.txt

Usage

Install with:

npm i express-security.txt -S

Add 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 protected]',
    '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'
}))

About

npm package for express applications

Resources

Stars

Watchers

Forks

Packages

No packages published