@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.
18 lines (17 loc) • 342 B
TypeScript
type PackageInfo = {
name: string;
version: string;
requiredAt: number;
};
export declare class Packages {
private packages;
private maxSize;
constructor(maxSize?: number);
addPackage(pkg: {
name: string;
version: string;
}): void;
asArray(): PackageInfo[];
clear(): void;
}
export {};