Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
Modern JS/TS and Unicode-friendly version of diff-match-patch.
This package works with Node.js, Deno, Bun, BrowsersIt is unknown whether this package works with Cloudflare Workers




JSR Score
100%
Published
a year ago (0.1.1)
c
Differ
A class for performing diffs. Wraps the DiffMatchPatch class from the original library with more
ergonomic and Unicode-friendly methods.
T
DiffLike
A Diff or a tuple of [operation, text] (loosely typed for convenience as an input to makeDiff).
T
DiffMatchPatchConfig
Instance-level configuration options for the Differ class to pass to the underlying
DiffMatchPatch instance.
T
v
T
f
makeDiff
Converts a DiffLike to a Diff.
f
makeDiffs
Converts an array of DiffLikes to an array of Diffs.
c
Differ
A class for performing diffs. Wraps the DiffMatchPatch class from the original library with more
ergonomic and Unicode-friendly methods.
T
DiffMatchPatchConfig
Instance-level configuration options for the Differ class to pass to the underlying
DiffMatchPatch instance.
T