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.

6 lines (5 loc) 243 B
/** * Adds IPv4-mapped IPv6 versions for all IPv4 addresses in the array. * e.g. ["1.2.3.4", "2001:db8::/32"] -> ["1.2.3.4", "2001:db8::/32", "::ffff:1.2.3.4/128"] */ export declare function addIPv4MappedAddresses(ips: string[]): string[];