userpravah
Version:
UserPravah is an extensible, framework-agnostic tool for analyzing user flows and navigation patterns in web applications. It supports multiple frameworks (Angular, React) and output formats (DOT/Graphviz, JSON) with a plugin-based architecture for easy e
24 lines (23 loc) • 751 B
TypeScript
import { AnalysisResult, ProjectAnalysisOptions } from "./types.js";
export interface IFrameworkAnalyzer {
/**
* Gets the name of the framework this analyzer supports
*/
getFrameworkName(): string;
/**
* Checks if this analyzer can handle the given project
*/
canAnalyze(projectPath: string): Promise<boolean>;
/**
* Analyzes the project and extracts routes, navigation flows, and menus
*/
analyze(options: ProjectAnalysisOptions): Promise<AnalysisResult>;
/**
* Gets the file extensions this analyzer should process
*/
getSupportedExtensions(): string[];
/**
* Gets common configuration file patterns for this framework
*/
getConfigFilePatterns(): string[];
}