npm

Bring the best of OSS JavaScript development to your projects with npm Orgs - private packages & team management tools.Learn more »

yeps-helmet

1.0.1 • Public • Published

YEPS helmet

It helps you secure your YEPS apps by setting various HTTP headers

NPM

npm version Build Status Coverage Status Linux Build Windows Build

Dependency Status devDependency Status NSP Status

License GitHub stars GitHub forks GitHub issues Twitter

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.

YEPS documentation

install

npm i yeps-helmet

Downloadsweekly downloads

33

version

1.0.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability