Module

std/internal/diff.ts>diffstr

The Deno Standard Library
Latest
function diffstr
import { diffstr } from "https://dotland.deno.dev/std@0.224.0/internal/diff.ts";

Renders the differences between the actual and expected strings Partially inspired from https://github.com/kpdecker/jsdiff

Parameters

A: string

Actual string

B: string

Expected string