UNPKG

@aikidosec/firewall

Version:

Zen by Aikido is an embedded Web Application Firewall that autonomously protects Node.js apps against common and critical attacks

14 lines (13 loc) 311 B
export declare class Hostnames { private readonly maxEntries; private map; constructor(maxEntries?: number); add(hostname: string, port: number): void; get length(): number; asArray(): { hostname: string; port: number; hits: number; }[]; clear(): void; }