1.0.2 • Published 6 years ago

teo-helmet-extension v1.0.2

Weekly downloads
5
License
MIT
Repository
github
Last release
6 years ago

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
        }
    ],
};