1.3.0-alpha.15 • Published 3 years ago

trimerge v1.3.0-alpha.15

Weekly downloads
332
License
MIT
Repository
github
Last release
3 years ago

Trimerge: Three-way Merge JSON and Structures

Actions Status npm version codecov

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 }

License

Based on MIT licensed code from node-diff3.

1.3.0-alpha.15

3 years ago

1.3.0-alpha.14

4 years ago

1.3.0-alpha.13

5 years ago

0.0.0-21d0663

5 years ago

0.0.0-757ea26

5 years ago

1.3.0-alpha.11

5 years ago

1.3.0-alpha.10

5 years ago

1.3.0-alpha.9

5 years ago

1.3.0-alpha.8

5 years ago

1.3.0-alpha.7

5 years ago

1.3.0-alpha.6

5 years ago

1.3.0-alpha.5

5 years ago

1.3.0-alpha.4

5 years ago

1.3.0-alpha.3

5 years ago

1.3.0-alpha.2

5 years ago

1.3.0-alpha.1

5 years ago

1.2.0

5 years ago

1.0.0

5 years ago