How to use the node-diff3.patch function in node-diff3

To help you get started, we’ve selected a few node-diff3 examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github FallenMax / notepad.cc / src / common / lib / diff3.ts View on Github external
export const applyPatch = (a: string, p: Patch): string | undefined =>
  fromArr(patch(toArr(a), decompress(p)))
github FallenMax / notepad.cc / server / lib / diff3.js View on Github external
  applyPatch: (a, p) => fromArr(patch(toArr(a), decompress(p))),
  merge3: (a, o, b) => {

node-diff3

A node.js module for text diffing and three-way-merge.

MIT
Latest version published 2 years ago

Package Health Score

50 / 100
Full package analysis