UNPKG

bot-guardian-js

Version:

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

18 lines (17 loc) 376 B
interface BehaviorEvent { type: string; data: { x?: number; y?: number; acceleration?: number; speed?: number; }; timestamp: number; } interface BehaviorAnalysis { isBot: boolean; confidence: number; factors: string[]; } export declare function analyzeBehavior(events: BehaviorEvent[]): BehaviorAnalysis; export {};