UNPKG

git-contributor-stats

Version:

CLI to compute contributor and repository statistics from a Git repository (commits, lines added/deleted, frequency, heatmap, bus-factor), with filters and multiple output formats.

15 lines 611 B
export declare function formatNumber(n: number): string; export declare function svgEscape(s: string): string; export declare function parseTopStatsMetrics(input?: string): string[]; export interface TopStatsEntry { name?: string; email?: string; commits?: number; added?: number; deleted?: number; net?: number; changes?: number; } export declare function getMetricValue(entry: TopStatsEntry, metricKey: string): number | undefined; export declare function formatTopStatsLines(ts: Record<string, TopStatsEntry>, metrics: string[]): string[]; //# sourceMappingURL=formatting.d.ts.map