exstack
Version:
A utility library designed to simplify and enhance Express.js applications.
13 lines (11 loc) • 373 B
TypeScript
import { RequestHandler } from "express";
//#region src/middle/x-powered.d.ts
/**
* Middleware to customize or override the `X-Powered-By` HTTP header.
* Often used for branding or hiding technology stack.
*
* @param name - Value to be set for the `X-Powered-By` header
*/
declare const poweredBy: (name: string) => RequestHandler;
//#endregion
export { poweredBy };