UNPKG

@aikidosec/firewall

Version:

Zen by Aikido is an embedded Application Firewall that autonomously protects Node.js apps against common and critical attacks, provides rate limiting, detects malicious traffic (including bots), and more.

6 lines (5 loc) 286 B
/** * This function allows to wrap a default export or a named export. * If the name is undefined, it will wrap the default export of a module. */ export declare function wrapDefaultOrNamed(module: any, name: string | undefined, wrapper: (original: Function) => Function): Function;