Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/diff_kit/private/diff_handler.ts>DiffHandler

Deno lib that compares 2 strings and generates result like assertEquals(), also in HTML
Latest
class DiffHandler
import { DiffHandler } from "https://deno.land/x/diff_kit@v2.0.5/private/diff_handler.ts";

Properties

protected
result: string
left: DiffSubj
posLeft: number
posRight: number
right: DiffSubj

Methods

addDiff(endPosLeft: number, endPosRight: number)
addEqual(endPosLeft: number)