UNPKG

knip-html-reporter

Version:

A beautiful HTML reporter for Knip that transforms analysis results into interactive reports

34 lines (33 loc) 809 B
/** * Configuration options for the HTML reporter */ export interface HtmlReporterConfig { /** * Path to the output HTML file * @default 'knip-report.html' */ output?: string; /** * Automatically include default styles in the HTML output * @default true */ autoStyles?: boolean; /** * Automatically open the HTML file in the default browser after generation * @default false */ autoOpen?: boolean; /** * Custom CSS file path to include in the HTML output */ customStyles?: string; /** * Title for the HTML report * @default 'Knip Analysis Report' */ title?: string; } /** * Default configuration values */ export declare const DEFAULT_CONFIG: Required<Omit<HtmlReporterConfig, 'customStyles'>>;