UNPKG

@rayburst/sharity

Version:

Analyze shared package usage across monorepos - calculate symbol sharing percentages, track exclusive imports, and identify unused exports

21 lines 693 B
/** * TypeScript parser utilities using TypeScript Compiler API */ import { FileAnalysis } from '../core/types'; /** * Parse a TypeScript/JavaScript file and extract exports and imports */ export declare function parseFile(filePath: string): FileAnalysis; /** * Count total lines in a file (excluding empty lines and comments) */ export declare function countLinesInFile(filePath: string): number; /** * Check if a file should be analyzed (based on extension) */ export declare function shouldAnalyzeFile(filePath: string): boolean; /** * Check if a file is a test file */ export declare function isTestFile(filePath: string): boolean; //# sourceMappingURL=typescript-parser.d.ts.map