Skip to main content
Module

std/testing/_diff.ts>diffstr

Deno standard library
Go to Latest
function diffstr
import { diffstr } from "https://deno.land/std@0.145.0/testing/_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