UNPKG

koruai

Version:

AI-powered security monitoring middleware for Express.js applications. Detects anomalies and threats in real-time with intelligent request analysis.

21 lines 661 B
/** * Configuration for KoruAI middleware */ export interface KoruAIMiddlewareConfig { /** * Your API key for authentication with KoruAI servers */ apiKey: string; /** * Your application ID for identifying your app */ appId: string; /** * Whether to check for anomaly in real-time. * If true, the middleware will check for anomaly in real-time and block the request if anomaly is detected. * If false, the middleware will check for anomaly in our servers and send report to dashboard. * Default is false. */ blockRealtime?: boolean; } //# sourceMappingURL=KoruAIMiddlewareInterface.d.ts.map