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.

17 lines (16 loc) 405 B
export declare class LRUMap<K, V> { private first; private items; private last; private readonly max; private readonly ttl; constructor(max?: number, ttlInMsecs?: number); get size(): number; private bumpLru; clear(): void; delete(key: K): void; private evict; get(key: K): V | undefined; keys(): IterableIterator<K>; set(key: K, value: V): void; }