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.

    true
    
  • compression: boolean

    Whether or not to add the compression middleware.

    true
    
  • disableXPoweredBy: boolean

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

    true
    
  • multer: boolean

    Whether or not to add the multer middleware.

  • trustProxy: boolean

    Whether or not to enable the trust proxy option.

    true