UNPKG

sca-tool

Version:

Universal static code analysis tool for calculating API operation costs across multiple frameworks (NestJS, Express, Fastify)

36 lines 1.53 kB
export * from './types'; export * from './config'; export * from './analyzer'; export * from './reports'; export { program as CLI } from './cli'; export { ApiCostAnalyzer, analyzeNestJSFile, analyzeNestJSProject, analyzeExpressProject } from './analyzer'; export { ReportGenerator } from './reports'; export { DEFAULT_CONFIG, FRAMEWORK_PRESETS, getFrameworkConfig, mergeConfigs, createConfig } from './config'; export { EditorDetector } from './editor-detector'; export { ConfigLoader } from './config-loader'; import { ApiCostAnalyzer } from './analyzer'; import { getFrameworkConfig } from './config'; import { ReportGenerator } from './reports'; /** * Quick analyze function for any framework */ export declare function analyze(filePath: string, framework?: string): import("./types").FileAnalysis; /** * Quick project analysis function */ export declare function analyzeProject(projectPath: string, framework?: string): import("./types").ProjectAnalysis; /** * Create analyzer with custom config */ export declare function createAnalyzer(config?: import("./types").AnalyzerConfig): ApiCostAnalyzer; declare const _default: { ApiCostAnalyzer: typeof ApiCostAnalyzer; ReportGenerator: typeof ReportGenerator; analyze: typeof analyze; analyzeProject: typeof analyzeProject; createAnalyzer: typeof createAnalyzer; FRAMEWORK_PRESETS: Record<string, import("./types").FrameworkPreset>; getFrameworkConfig: typeof getFrameworkConfig; }; export default _default; //# sourceMappingURL=index.d.ts.map