@keels/remove-powered
v1.0.2
Published
Removes X-Powered-By header from Express.js servers
Downloads
1
Readme
remove-powered
This package provides middleware for Express.js to remove the X-Powered-By header. By default, Express sets the X-Powered-By header to "Express". This can potentially be exploited, though using this middleware does not entirely obscure the use of Express.
Installation
npm install @keels/remove-powered --save
Usage
Use this package as Express middleware.
const rp = require('@keels/remove-powered');
app.use(rp.removePowered);
Development
This project uses ESLint and EditorConfig to standardise code styles.
This project uses Jest and SuperTest for tests. To run tests, execute:
npm test