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.

5 lines (4 loc) 116 B
export declare function getCurrentAndNextSegments<T>(array: T[]): { currentSegment: T; nextSegment: T; }[];