@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.
12 lines (11 loc) • 441 B
TypeScript
import { Agent } from "./Agent";
/**
* This module is a storage unit, this function retrieves the stored value
* @returns The current instance stored in the instance variable
*/
export declare function getInstance(): Agent | undefined;
/**
* This module is a storage unit, this function sets the stored value
* @param agent The agent you want stored as the current instance.
*/
export declare function setInstance(agent: Agent): void;