UNPKG

@aikidosec/firewall

Version:

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

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; }