UNPKG

@aikidosec/firewall

Version:

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

16 lines (15 loc) 428 B
import { Address } from "./Address"; export declare class Network { readonly addr: Address; private netbits; constructor(network?: string); destroy(): this; cidr(): number; isValid(): boolean; duplicate(): Network; next(): this; setCIDR(cidr: number): this; compare(network: Network): 0 | 1 | -1 | null; contains(network: Network): boolean; adjacent(network: Network): boolean; }