UNPKG

vzcode

Version:
13 lines (11 loc) 255 B
import jsondiff from 'json0-ot-diff'; import diffMatchPatch from 'diff-match-patch'; import { json1Presence, textUnicode } from '../ot'; export const diff = (a, b) => jsondiff( a, b, diffMatchPatch, json1Presence, textUnicode, );