@paulohenriquevn/m2js
Version:
Transform TypeScript/JavaScript code into LLM-friendly Markdown summaries + Smart Dead Code Detection + Graph-Deep Diff Analysis. Extract exported functions, classes, and JSDoc comments for better AI context with 60%+ token reduction. Intelligent dead cod
11 lines (10 loc) • 428 B
TypeScript
/**
* Dead Code Analyzer for M2JS
* Detects exported functions, classes, and variables that are never imported
*/
import { DeadCodeReport } from './dead-code-types';
import { PerformanceOptions } from './performance-optimizer';
/**
* Main function to analyze dead code in multiple files
*/
export declare function analyzeDeadCode(files: string[], performanceOptions?: Partial<PerformanceOptions>): Promise<DeadCodeReport>;