teo-helmet-extension
v1.0.2
Published
Teo.JS helmet middleware
Downloads
3
Maintainers
Readme
teo-helmet-extension
Teo.JS extension middleware based on helmet module.
Installation
npm i -S teo-helmet-extension
Teo.JS Config Example
module.exports = {
protocol: "http",
host: "localhost",
port: 3100,
cluster: {
enabled: true
},
extensions: [
{
name: "helmet",
module: "teo-helmet-extension",
config: {}, // feel free to pass your configuration object based on https://github.com/helmetjs/helmet
}
],
};