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
13 lines (12 loc) • 653 B
TypeScript
import { AnalysisResult } from './types.js';
export interface OutputFormatter {
readonly formatName: string;
/**
* Generates an output file based on the analysis result.
* @param analysisResult The data extracted and processed by a FrameworkAdapter.
* @param outputDirectory The directory where the output file should be saved.
* The formatter itself will decide the filename (e.g., based on project name, timestamp, format).
* @returns A promise that resolves when the output has been written.
*/
generateOutput(analysisResult: AnalysisResult, outputDirectory: string): Promise<void>;
}