@aikidosec/firewall
Version:
Zen by Aikido is an embedded Web Application Firewall that autonomously protects Node.js apps against common and critical attacks
10 lines (9 loc) • 351 B
TypeScript
import { Hooks } from "./hooks/Hooks";
/**
* Hooks allows you to register packages and then wrap specific methods on
* the exports of the package. This doesn't do the actual wrapping yet.
*
* This method wraps the require function and sets up the hooks.
* Globals are wrapped directly.
*/
export declare function applyHooks(hooks: Hooks): void;