Experimental 3-way merge library.
Usage:
import { combineMergers, trimergeEquality, trimergeJsonObject } from 'trimerge';
const s1 = { hello: 1, world: 2 };
const s2 = { hello: 1, world: 2, there: 2 };
const s3 = { hello: 1 };
const merger = combineMergers(trimergeEquality, trimergeJsonObject);
merger(s1, s2, s3); // => { hello: 1, there: 2 }
To publish a new version of the package to npm, create a new release on GitHub with tag vX.Y.Z
matching the current version number.
Based on MIT licensed code from node-diff3.