UNPKG

bot-guardian-js

Version:

A powerful bot detection and prevention library for Node.js applications

8 lines (7 loc) 295 B
import { DetectionResult, BotDetectionParams } from '../types'; export declare class GuardianClient { private apiUrl; constructor(apiUrl?: string); detectBot(params: BotDetectionParams): Promise<DetectionResult>; middleware(): (req: any, res: any, next: any) => Promise<void>; }