Options
All
  • Public
  • Public/Protected
  • All
Menu

@thi.ng/hdiff

Index

Type aliases

BgFg

BgFg: [string, string]

BgFgBorder

BgFgBorder: [string, string, string]

Variables

Const DEFAULT_THEME

DEFAULT_THEME: Theme = ...

Const THEMES

THEMES: IObjectOf<Theme> = ...

Functions

Const compileTheme

  • compileTheme(theme: Theme): string

Const computeDiff

  • computeDiff(a: string, b: string): any[]
  • Parameters

    • a: string
    • b: string

    Returns any[]

Const generateHtml

  • generateHtml(diff: any[], headerBody: any[], theme?: Theme): string
  • Parameters

    • diff: any[]
    • headerBody: any[]
    • theme: Theme = ...

    Returns string

Generated using TypeDoc