# express-security.txt

> [![Build Status](https://travis-ci.org/gergelyke/express-security.txt.svg?branch=master)](https://travis-ci.org/gergelyke/express-security.txt)

Latest version **2.0.0** (published 2018-08-27) · ISC license · 0 weekly downloads

## Install

```sh
npm install express-security.txt
pnpm add express-security.txt
yarn add express-security.txt
bun add express-security.txt
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2018-08-27 |
| First published | 2017-10-12 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | gergelyke |
| Keywords | security.txt, security, express |

## Links

- npm: https://www.npmjs.com/package/express-security.txt
- Repository: https://github.com/gergelyke/express-security.txt
- Homepage: https://github.com/gergelyke/express-security.txt#readme
- Issues: https://github.com/gergelyke/express-security.txt/issues
- npm.io page: https://npm.io/package/express-security.txt

## Recent versions

- 2.0.0 (latest) — 2018-08-27
- 1.0.3 — 2018-08-27
- 1.0.2 — 2017-10-13
- 1.0.0 — 2017-10-12

## README

[![Build Status](https://travis-ci.org/gergelyke/express-security.txt.svg?branch=master)](https://travis-ci.org/gergelyke/express-security.txt)

[![NPM](https://nodei.co/npm/express-security.txt.png?compact=true)](https://nodei.co/npm/express-security.txt/)

## node-security.txt

### Usage

#### Install with:

```bash
npm i express-security.txt -S
```

#### Add to your app with:

```javascript
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'
}))
```

---
_Source: https://npm.io/package/express-security.txt · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
