UNPKG

@aikidosec/firewall

Version:

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

9 lines (8 loc) 404 B
// @ts-ignore import type { Server } from "@hapi/hapi"; /** * Calling this function will setup rate limiting and user blocking for the provided Hapi app. * Attacks will still be blocked by Zen if you do not call this function. * Execute this function as early as possible in your Hapi app, but after the middleware that sets the user. */ export declare function addHapiMiddleware(app: Server): void;