diff2html
Version:
Fast Diff to colorized HTML
10 lines • 368 B
TypeScript
import { DiffFile } from './types';
export interface DiffParserConfig {
srcPrefix?: string;
dstPrefix?: string;
diffMaxChanges?: number;
diffMaxLineLength?: number;
diffTooBigMessage?: (fileIndex: number) => string;
}
export declare function parse(diffInput: string, config?: DiffParserConfig): DiffFile[];
//# sourceMappingURL=diff-parser.d.ts.map