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.

7 lines (6 loc) 225 B
/** * Remove new line characters and escape backticks from a log message. * * Also truncates the log message to a maximum length. */ export declare function escapeLog(log: string | undefined, maxLength?: number): string;