How to use the node-diff3.stripPatch 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 / server / lib / diff3.js View on Github external
  createPatch: (a, b) => compress(stripPatch(diffPatch(toArr(a), toArr(b)))),
}
github FallenMax / notepad.cc / src / common / lib / diff3.ts View on Github external
export const createPatch = (a: string, b: string): Patch =>
  compress(stripPatch(diffPatch(toArr(a), toArr(b))))

node-diff3

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

MIT
Latest version published 2 years ago

Package Health Score

48 / 100
Full package analysis