teo-helmet-extension

1.0.2 • Public • Published

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

Package Sidebar

Install

npm i teo-helmet-extension

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

3.8 kB

Total Files

4

Last publish

Collaborators

  • teologov