Type alias JimpexExpressOptions

JimpexExpressOptions: {
    bodyParser: boolean;
    compression: boolean;
    disableXPoweredBy: boolean;
    multer: boolean;
    trustProxy: boolean;
}

The options for the Express application.

Type declaration

  • bodyParser: boolean

    Whether or not to add the body-parser middleware.

    Default

    true
    
  • compression: boolean

    Whether or not to add the compression middleware.

    Default

    true
    
  • disableXPoweredBy: boolean

    Whether or not to remove the x-powered-by header.

    Default

    true
    
  • multer: boolean

    Whether or not to add the multer middleware.

  • trustProxy: boolean

    Whether or not to enable the trust proxy option.

    Default

    true
    

Generated using TypeDoc