UNPKG

nehonix-uri-processor

Version:

A powerful URI processor for encoding, decoding, and analyzing URI data securely.

22 lines 1.25 kB
/** * Creates pre-configured middleware functions */ export declare const nehonixShield: { /** * Standard security middleware with balanced settings */ standard: (req: import("express").Request, res: import("express").Response, next: import("express").NextFunction) => Promise<void | import("express").Response<any, Record<string, any>>>; /** * Strict security middleware with aggressive blocking */ strict: (req: import("express").Request, res: import("express").Response, next: import("express").NextFunction) => Promise<void | import("express").Response<any, Record<string, any>>>; /** * Monitor-only mode that logs but doesn't block */ monitor: (req: import("express").Request, res: import("express").Response, next: import("express").NextFunction) => Promise<void | import("express").Response<any, Record<string, any>>>; /** * Creates a custom middleware instance */ custom: (options?: import("./exports/EXPRESS.exports").NsbMiddlewareOptions) => (req: import("express").Request, res: import("express").Response, next: import("express").NextFunction) => Promise<void | import("express").Response<any, Record<string, any>>>; }; //# sourceMappingURL=EXPRESS.nShield.d.ts.map