UNPKG

@puberty-labs/clits

Version:

CLiTS (Chrome Logging and Inspection Tool Suite) is a powerful Node.js library for automated Chrome browser testing, logging, and inspection. It provides a comprehensive suite of tools for monitoring network requests, console logs, DOM mutations, and more

22 lines (21 loc) 551 B
export interface ExtractorOptions { sourcePath: string; patterns: string[]; maxFileSize?: number; maxFiles?: number; } export interface ExtractedLog { filePath: string; content: string; size: number; lastModified: Date; } export declare class LogExtractor { private options; private static readonly DEFAULT_MAX_FILE_SIZE; private static readonly DEFAULT_MAX_FILES; constructor(options: ExtractorOptions); extract(): Promise<ExtractedLog[]>; private findLogFiles; private extractSingleLog; }