yeps-helmet
v1.0.1
Published
YEPS helmet
Downloads
8
Maintainers
Readme
YEPS helmet
It helps you secure your YEPS apps by setting various HTTP headers
How to install
npm i -S yeps-helmet
How to use
const App = require('yeps');
const error = require('yeps-error');
const logger = require('yeps-logger');
const server = require('yeps-server');
const helmet = require('yeps-helmet');
const app = new App();
app.all([
error(),
logger(),
helmet(),
]);
server.createHttpServer(app);
Or with options:
app.all([
helmet({...}),
]);
See helmet documentation.