{
  "id": "task_libraries:diff/javascript",
  "path": "/exapedia/javascript-diff-libraries",
  "template": {
    "id": "task_libraries",
    "version": 4
  },
  "title": "JavaScript diff libraries",
  "answer": [
    {
      "t": "fact",
      "fact": "F116"
    },
    {
      "t": "text",
      "text": " A text diff reports the characters or lines inserted and deleted, while an object diff reports the paths whose values changed. These libraries produce the changes shown in code review views, test failure messages, and collaborative editors."
    }
  ],
  "breadcrumb": [
    {
      "label": "Tools"
    },
    {
      "label": "JavaScript diff libraries"
    }
  ],
  "sections": [
    {
      "id": "libraries_popularity",
      "anchor": "popularity",
      "heading": "Popularity",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Monthly downloads",
            "Stars",
            "Last release",
            "License"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#jsdiff",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F135"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F136"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F142"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F139"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F137"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#jest-diff",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F151"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F152"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F160"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F155"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F153"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#fast-diff",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F169"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F170"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F178"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F173"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F171"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#fast-json-patch",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F187"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F188"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F194"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F191"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F189"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#diff-match-patch",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F203"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F204"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F210"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F207"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F205"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#just-diff",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F215"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F216"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F224"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F219"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F217"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#microdiff",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F233"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F234"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F242"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F237"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F235"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#deep-object-diff",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F247"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F248"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F256"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F251"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F249"
                }
              ]
            ]
          ],
          "variant": "pop",
          "caption": [
            {
              "t": "text",
              "text": "Downloads: "
            },
            {
              "t": "text",
              "text": "npm"
            },
            {
              "t": "text",
              "text": ", last thirty days. Stars and releases: GitHub. Amber: no release in over a year."
            }
          ]
        }
      ],
      "note": [
        {
          "t": "link",
          "href": "#jsdiff",
          "label": [
            {
              "t": "fact",
              "fact": "F1"
            }
          ]
        },
        {
          "t": "text",
          "text": " has the most monthly downloads in this comparison, at "
        },
        {
          "t": "fact",
          "fact": "F136"
        },
        {
          "t": "text",
          "text": "."
        }
      ]
    },
    {
      "id": "libraries_capabilities",
      "anchor": "capabilities",
      "heading": "Capabilities",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Text edit operations",
            "Object field deltas",
            "Applies patches"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#jsdiff",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F135"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F143"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F144"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F145"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#jest-diff",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F151"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F161"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F162"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F163"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#fast-diff",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F169"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F179"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F180"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F181"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#fast-json-patch",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F187"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F195"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F196"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F197"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#diff-match-patch",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F203"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F211"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F212"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F213"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#just-diff",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F215"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F225"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F226"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F227"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#microdiff",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F233"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F243"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F244"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F245"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#deep-object-diff",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F247"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F257"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F258"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F259"
                }
              ]
            ]
          ],
          "variant": "cap"
        }
      ]
    },
    {
      "id": "libraries_entries",
      "anchor": "libraries",
      "heading": "Libraries",
      "blocks": [
        {
          "b": "entry",
          "anchor": "jsdiff",
          "name": [
            {
              "t": "fact",
              "fact": "F135"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/kpdecker/jsdiff"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/diff"
            },
            {
              "label": "Docs",
              "href": "https://github.com/kpdecker/jsdiff#readme"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F13"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F136"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F142"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F138"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F137"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/kpdecker/jsdiff#readme",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F135"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F14"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F15"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F16"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F17"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F18"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F19"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F20"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F21"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F149"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F150"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/google-gemini/gemini-cli",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F149"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "typescript",
              "code": "export function getDiffStat(\n  fileName: string,\n  oldStr: string,\n  aiStr: string,\n  userStr: string,\n): DiffStat {\n  const getStats = (patch: Diff.StructuredPatch) => {\n    let addedLines = 0;\n    let removedLines = 0;\n    let addedChars = 0;\n    let removedChars = 0;\n\n    patch.hunks.forEach((hunk: Diff.StructuredPatchHunk) => {\n      hunk.lines.forEach((line: string) => {\n        if (line.startsWith('+')) {\n          addedLines++;\n          addedChars += line.length - 1;\n        } else if (line.startsWith('-')) {\n          removedLines++;\n          removedChars += line.length - 1;\n        }\n      });\n    });\n    return { addedLines, removedLines, addedChars, removedChars };\n  };\n\n  const modelPatch = Diff.structuredPatch(\n    fileName,\n    fileName,\n    oldStr,\n    aiStr,\n    'Current',\n    'Proposed',\n    DEFAULT_STRUCTURED_PATCH_OPTS,\n  );\n  const modelStats = getStats(modelPatch);\n\n  const userPatch = Diff.structuredPatch(\n    fileName,\n    fileName,\n    aiStr,\n    userStr,\n    'Proposed',\n    'User',\n    DEFAULT_STRUCTURED_PATCH_OPTS,\n  );\n  const userStats = getStats(userPatch);\n\n  return {\n    model_added_lines: modelStats.addedLines,\n    model_removed_lines: modelStats.removedLines,\n    model_added_chars: modelStats.addedChars,\n    model_removed_chars: modelStats.removedChars,\n    user_added_lines: userStats.addedLines,\n    user_removed_lines: userStats.removedLines,\n    user_added_chars: userStats.addedChars,\n    user_removed_chars: userStats.removedChars,\n  };\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/google-gemini/gemini-cli/blob/4fa64e71b9b4e1bb65a86cc2863574f561b82340/packages/core/src/tools/diffOptions.ts#L20-L78",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F148"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Projects%20using%20diff%20to%20compare%20revisions%20and%20apply%20patches&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F135"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "typescript",
              "code": "const { diffChars } = require('diff');\n\nconsole.log(diffChars('hello', 'hello world'));\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/kpdecker/jsdiff/blob/master/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "node_example.js"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F140"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "jest-diff",
          "name": [
            {
              "t": "fact",
              "fact": "F151"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/jestjs/jest"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/jest-diff"
            },
            {
              "label": "Docs",
              "href": "https://github.com/jestjs/jest#readme"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F158"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F152"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F160"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F154"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F153"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/jestjs/jest#readme",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F151"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F265"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F266"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F267"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F268"
                }
              ]
            }
          ],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F167"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F168"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/phenomnomnominal/betterer",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F167"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "export function diffStrings__(a: string, b: string, diffOptions: DiffOptions): string {\n  // jest-diff recommends using `diffLinesUnified` if string lengths are above 20,000 for performance\n  if (a.length > 20_000 || b.length > 20_000) {\n    return diffLinesUnified(a.split('\\n'), b.split('\\n'), diffOptions);\n  }\n\n  return diffStringsUnified(a, b, diffOptions);\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/phenomnomnominal/betterer/blob/69a83c14975b6ef2e4e42736e686ffba0f28895f/packages/logger/src/diff.ts#L19-L26",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F166"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=jest-diff%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F151"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "const { diff } = require('jest-diff');\n\nconsole.log(diff({ count: 1 }, { count: 2 }));\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://registry.npmjs.org/jest-diff/latest",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F156"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "fast-diff",
          "name": [
            {
              "t": "fact",
              "fact": "F169"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/jhchen/fast-diff"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/fast-diff"
            },
            {
              "label": "Docs",
              "href": "https://github.com/jhchen/fast-diff#readme"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F176"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F170"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F178"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F172"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F171"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/jhchen/fast-diff#readme",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F169"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F269"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F270"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F271"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F272"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F273"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F274"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F185"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F186"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/CherryHQ/cherry-studio",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F185"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "export function prepareCodeChanges(oldCode: string, newCode: string) {\n  const diffResult = diff(oldCode, newCode)\n\n  const changes: { from: number; to: number; insert: string }[] = []\n  let offset = 0\n\n  // operation: 1=insert, -1=delete, 0=equal\n  for (const [operation, text] of diffResult) {\n    if (operation === 1) {\n      changes.push({\n        from: offset,\n        to: offset,\n        insert: text\n      })\n    } else if (operation === -1) {\n      changes.push({\n        from: offset,\n        to: offset + text.length,\n        insert: ''\n      })\n      offset += text.length\n    } else {\n      offset += text.length\n    }\n  }\n\n  return changes\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/CherryHQ/cherry-studio/blob/68ba05ba5f362e5f34501659be223441a67a2976/packages/ui/src/components/composites/code-editor/utils.ts#L23-L50",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F184"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=fast-diff%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F169"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "const diff = require('fast-diff');\n\nconsole.log(diff('hello', 'hello world'));\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://registry.npmjs.org/fast-diff/latest",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F174"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "fast-json-patch",
          "name": [
            {
              "t": "fact",
              "fact": "F187"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/Starcounter-Jack/JSON-Patch"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/fast-json-patch"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F38"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F188"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F194"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F190"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F189"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/Starcounter-Jack/JSON-Patch",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F187"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F39"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F40"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F41"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F42"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F43"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F44"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F45"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F46"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F201"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F202"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/Unleash/unleash",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F201"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "typescript",
              "code": "async patchFeature(\n    project: string,\n    featureName: string,\n    createdBy: string,\n    operations: Operation[],\n): Promise<FeatureToggle> {\n    const featureToggle = await this.getFeatureMetadata(featureName);\n\n    if (operations.some((op) => op.path.indexOf('/variants') >= 0)) {\n        throw new OperationDeniedError(\n            `Changing variants is done via PATCH operation to /api/admin/projects/:project/features/:feature/variants`,\n        );\n    }\n    const { newDocument } = applyPatch(\n        deepClone(featureToggle),\n        operations,\n    );\n\n    const updated = await this.updateFeatureToggle(\n        project,\n        newDocument,\n        createdBy,\n    );\n\n    if (featureToggle.stale !== newDocument.stale) {\n        const tags = await this.tagStore.getAllTagsForFeature(featureName);\n\n        await this.eventStore.store(\n            new FeatureStaleEvent({\n                stale: newDocument.stale,\n                project,\n                featureName,\n                createdBy,\n                tags,\n            }),\n        );\n    }\n\n    return updated;\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/Unleash/unleash/blob/2b59a4219a049e87984a99e1dde25d402f74a064/src/lib/services/feature-toggle-service.ts#L143-L182",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F200"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Projects%20using%20fast-json-patch%20to%20compare%20revisions%20and%20apply%20patches&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F187"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "typescript",
              "code": "const { applyPatch } = require('fast-json-patch');\n\nconst document = { name: 'Ada' };\nconst patch = [{ op: 'replace', path: '/name', value: 'Grace' }];\nconst result = applyPatch(document, patch);\nconsole.log(result.newDocument);\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://registry.npmjs.org/fast-json-patch/latest",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F192"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "diff-match-patch",
          "name": [
            {
              "t": "fact",
              "fact": "F203"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/JackuB/diff-match-patch"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/diff-match-patch"
            },
            {
              "label": "Docs",
              "href": "https://github.com/JackuB/diff-match-patch#readme"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F63"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F204"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F210"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F206"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F205"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/JackuB/diff-match-patch#readme",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F203"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F64"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F65"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F66"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F67"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F68"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F69"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F70"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F71"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "typescript",
              "code": "import DiffMatchPatch from 'diff-match-patch';\nconst dmp = new DiffMatchPatch();\n\nconsole.log(dmp.diff_main('hello', 'hello world'));\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/JackuB/diff-match-patch/blob/master/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Projects%20using%20diff-match-patch%20to%20compare%20revisions%20and%20apply%20patches&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F203"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F208"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "just-diff",
          "name": [
            {
              "t": "fact",
              "fact": "F215"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/angus-c/just"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/just-diff"
            },
            {
              "label": "Docs",
              "href": "https://github.com/angus-c/just#readme"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F222"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F216"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F224"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F218"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F217"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/angus-c/just#readme",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F215"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F275"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F276"
                }
              ]
            }
          ],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F231"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F232"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/lobehub/lobe-cli-toolbox",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F231"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "export const diff = (\n  entry: LocaleObj,\n  target: LocaleObj,\n  config?: Pick<I18nConfig, 'keyStyle'>,\n) => {\n  const keyStyle = config?.keyStyle ?? 'nested';\n  const diffResult = justDiff(target, entry);\n  const add = diffResult.filter((item) => item.op === 'add');\n  const remove = diffResult.filter((item) => item.op === 'remove');\n\n  const cloneTarget = cloneDeep(target);\n  const extra: LocaleObj = {};\n\n  for (const item of remove) {\n    const path = resolveDiffPath(target, item.path as DiffPath, keyStyle);\n    unset(cloneTarget, path);\n  }\n\n  for (const item of add) {\n    const path = resolveDiffPath(entry, item.path as DiffPath, keyStyle);\n    // Use custom setByPath to preserve numeric string keys as object keys\n    const pathArray = Array.isArray(path) ? path : [path];\n    setByPath(extra, pathArray, item.value);\n  }\n\n  return {\n    add,\n    entry: extra,\n    remove,\n    target: cloneTarget,\n  };\n};\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/lobehub/lobe-cli-toolbox/blob/f8a881752bfd13fc201e114de7909c38fd1a6df6/packages/lobe-i18n/src/utils/diffJson.ts#L38-L69",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F230"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=just-diff%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F215"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "const { diff } = require('just-diff');\n\nconsole.log(diff({ count: 1 }, { count: 2 }));\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://registry.npmjs.org/just-diff/latest",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F220"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "microdiff",
          "name": [
            {
              "t": "fact",
              "fact": "F233"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/AsyncBanana/microdiff"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/microdiff"
            },
            {
              "label": "Docs",
              "href": "https://github.com/AsyncBanana/microdiff#readme"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F240"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F234"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F242"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F236"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F235"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/AsyncBanana/microdiff#readme",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F233"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F277"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F278"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F279"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F280"
                }
              ]
            }
          ],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "import diff from 'microdiff';\n\nconsole.log(diff({ count: 1 }, { count: 2 }));\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://registry.npmjs.org/microdiff/latest",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=microdiff%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F233"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F238"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "deep-object-diff",
          "name": [
            {
              "t": "fact",
              "fact": "F247"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/mattphillips/deep-object-diff"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/deep-object-diff"
            },
            {
              "label": "Docs",
              "href": "https://github.com/mattphillips/deep-object-diff#readme"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F254"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F248"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F256"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F250"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F249"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/mattphillips/deep-object-diff#readme",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F247"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F281"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F282"
                }
              ]
            }
          ],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F263"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F264"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/storybookjs/storybook",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F263"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "export const ensure = (input: ThemeVars): StorybookTheme => {\n  if (!input) {\n    return convert(light);\n  }\n  const missing = deletedDiff(light, input);\n  if (Object.keys(missing).length) {\n    logger.warn(\n      dedent`\n          Your theme is missing properties, you should update your theme!\n\n          theme-data missing:\n        `,\n      missing\n    );\n  }\n\n  return convert(input);\n};\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/storybookjs/storybook/blob/0cdcdc9c2552760b66339943dfd83a2de587c269/code/core/src/theming/ensure.ts#L10-L27",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F262"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=deep-object-diff%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F247"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "const { diff } = require('deep-object-diff');\n\nconsole.log(diff({ count: 1 }, { count: 2 }));\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://registry.npmjs.org/deep-object-diff/latest",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F252"
            }
          ]
        }
      ]
    }
  ],
  "questions": [
    {
      "q": "What is jsdiff?",
      "a": [
        {
          "t": "link",
          "href": "#jsdiff",
          "label": [
            {
              "t": "text",
              "text": "jsdiff"
            }
          ]
        },
        {
          "t": "text",
          "text": ", published on npm as diff, compares text by characters, words, or lines and creates or applies unified patches."
        }
      ]
    },
    {
      "q": "What is fast-json-patch?",
      "a": [
        {
          "t": "link",
          "href": "#fast-json-patch",
          "label": [
            {
              "t": "text",
              "text": "fast-json-patch"
            }
          ]
        },
        {
          "t": "text",
          "text": " implements JSON Patch, a format that describes changes to a JSON document as a list of operations. It can also observe an object and generate the operations for its changes."
        }
      ]
    },
    {
      "q": "How do I compare two objects in JavaScript?",
      "a": [
        {
          "t": "link",
          "href": "#microdiff",
          "label": [
            {
              "t": "text",
              "text": "Microdiff"
            }
          ]
        },
        {
          "t": "text",
          "text": ", "
        },
        {
          "t": "link",
          "href": "#just-diff",
          "label": [
            {
              "t": "text",
              "text": "just-diff"
            }
          ]
        },
        {
          "t": "text",
          "text": ", and "
        },
        {
          "t": "link",
          "href": "#deep-object-diff",
          "label": [
            {
              "t": "text",
              "text": "deep-object-diff"
            }
          ]
        },
        {
          "t": "text",
          "text": " compare two objects and report the changed paths. "
        },
        {
          "t": "link",
          "href": "#fast-json-patch",
          "label": [
            {
              "t": "text",
              "text": "fast-json-patch"
            }
          ]
        },
        {
          "t": "text",
          "text": " returns the same changes as JSON Patch operations."
        }
      ]
    },
    {
      "q": "Which JavaScript diff library fits each kind of change?",
      "a": [
        {
          "t": "fact",
          "fact": "F117"
        },
        {
          "t": "text",
          "text": " "
        },
        {
          "t": "fact",
          "fact": "F119"
        },
        {
          "t": "text",
          "text": " "
        },
        {
          "t": "fact",
          "fact": "F120"
        }
      ]
    },
    {
      "q": "Does fast-json-patch modify the original document?",
      "a": [
        {
          "t": "fact",
          "fact": "F125"
        }
      ]
    },
    {
      "q": "Does jsdiff diffJson produce structural path operations?",
      "a": [
        {
          "t": "fact",
          "fact": "F121"
        }
      ]
    }
  ],
  "facts": {
    "F1": {
      "label": "Library name, diff",
      "display": "jsdiff",
      "asOf": "2026-11-17"
    },
    "F2": {
      "label": "Monthly downloads, diff",
      "display": "717.1M",
      "asOf": "2026-11-15"
    },
    "F3": {
      "label": "License, diff",
      "display": "BSD-3-Clause",
      "asOf": "2026-11-17"
    },
    "F4": {
      "label": "Package release, diff",
      "display": "9.0.0",
      "asOf": "2026-11-17"
    },
    "F5": {
      "label": "Undated package release, diff",
      "display": "v9.0.0",
      "asOf": "2026-11-17"
    },
    "F6": {
      "label": "Repository stars, diff",
      "display": "9.2K",
      "asOf": "2026-11-17"
    },
    "F7": {
      "label": "Compares text, diff",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F8": {
      "label": "Compares object trees, diff",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F9": {
      "label": "Applies patches, diff",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F10": {
      "label": "Reverses patches, diff",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F11": {
      "label": "Output formats, diff",
      "display": "XML",
      "asOf": "2026-11-17"
    },
    "F12": {
      "label": "Install, diff",
      "display": "npm install diff colors",
      "asOf": "2026-11-17"
    },
    "F13": {
      "label": "What it does, diff",
      "display": "Compares text tokens and creates or applies unified patches.",
      "asOf": "2026-11-17"
    },
    "F14": {
      "label": "strengths lead, diff",
      "display": "Compares different text units",
      "asOf": "2026-11-17"
    },
    "F15": {
      "label": "strengths, diff",
      "display": "Choose character, word, or line comparisons.",
      "asOf": "2026-11-17"
    },
    "F16": {
      "label": "strengths lead, diff",
      "display": "Creates reversible unified patches",
      "asOf": "2026-11-17"
    },
    "F17": {
      "label": "strengths, diff",
      "display": "Generate a structured patch and reverse it to undo changes.",
      "asOf": "2026-11-17"
    },
    "F18": {
      "label": "limitations lead, diff",
      "display": "Bounded comparisons can return undefined",
      "asOf": "2026-11-17"
    },
    "F19": {
      "label": "limitations, diff",
      "display": "Handle an aborted comparison when using timeout or maxEditLength.",
      "asOf": "2026-11-17"
    },
    "F20": {
      "label": "limitations lead, diff",
      "display": "Patch context must still match",
      "asOf": "2026-11-17"
    },
    "F21": {
      "label": "limitations, diff",
      "display": "Deleted lines and insertion boundaries must match even with fuzzFactor.",
      "asOf": "2026-11-17"
    },
    "F22": {
      "label": "Quickstart, diff",
      "display": "require('colors');\nconst {diffChars} = require('diff');\n\nconst one = 'beep boop';\nconst other = 'beep boob blah';\n\nconst diff = diffChars(one, other);\n\ndiff.forEach((part) => {\n  // green for additions, red for deletions\n  let text = part.added ? part.value.bgGreen :\n             part.removed ? part.value.bgRed :\n                            part.value;\n  process.stderr.write(text);\n});\n\nconsole.log();\n",
      "asOf": "2026-11-17"
    },
    "F23": {
      "label": "Project function, diff",
      "display": "export function getDiffStat(\n  fileName: string,\n  oldStr: string,\n  aiStr: string,\n  userStr: string,\n): DiffStat {\n  const getStats = (patch: Diff.StructuredPatch) => {\n    let addedLines = 0;\n    let removedLines = 0;\n    let addedChars = 0;\n    let removedChars = 0;\n\n    patch.hunks.forEach((hunk: Diff.StructuredPatchHunk) => {\n      hunk.lines.forEach((line: string) => {\n        if (line.startsWith('+')) {\n          addedLines++;\n          addedChars += line.length - 1;\n        } else if (line.startsWith('-')) {\n          removedLines++;\n          removedChars += line.length - 1;\n        }\n      });\n    });\n    return { addedLines, removedLines, addedChars, removedChars };\n  };\n\n  const modelPatch = Diff.structuredPatch(\n    fileName,\n    fileName,\n    oldStr,\n    aiStr,\n    'Current',\n    'Proposed',\n    DEFAULT_STRUCTURED_PATCH_OPTS,\n  );\n  const modelStats = getStats(modelPatch);\n\n  const userPatch = Diff.structuredPatch(\n    fileName,\n    fileName,\n    aiStr,\n    userStr,\n    'Proposed',\n    'User',\n    DEFAULT_STRUCTURED_PATCH_OPTS,\n  );\n  const userStats = getStats(userPatch);\n\n  return {\n    model_added_lines: modelStats.addedLines,\n    model_removed_lines: modelStats.removedLines,\n    model_added_chars: modelStats.addedChars,\n    model_removed_chars: modelStats.removedChars,\n    user_added_lines: userStats.addedLines,\n    user_removed_lines: userStats.removedLines,\n    user_added_chars: userStats.addedChars,\n    user_removed_chars: userStats.removedChars,\n  };\n}\n",
      "asOf": "2026-11-17"
    },
    "F24": {
      "label": "Project function reference, diff",
      "display": "diffOptions.ts · getDiffStat()",
      "asOf": "2026-11-17"
    },
    "F25": {
      "label": "Project repository, diff",
      "display": "google-gemini/gemini-cli",
      "asOf": "2026-11-17"
    },
    "F26": {
      "label": "Project stars, google-gemini/gemini-cli",
      "display": "108.9K",
      "asOf": "2026-11-17"
    },
    "F27": {
      "label": "Project push date, google-gemini/gemini-cli",
      "display": "Nov 2026",
      "asOf": "2026-11-16"
    },
    "F28": {
      "label": "Library name, fast-json-patch",
      "display": "fast-json-patch",
      "asOf": "2026-11-17"
    },
    "F29": {
      "label": "Monthly downloads, fast-json-patch",
      "display": "45.6M",
      "asOf": "2026-11-15"
    },
    "F30": {
      "label": "License, fast-json-patch",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F31": {
      "label": "Package release, fast-json-patch",
      "display": "3.1.1",
      "asOf": "2026-11-17"
    },
    "F32": {
      "label": "Undated package release, fast-json-patch",
      "display": "v3.1.1",
      "asOf": "2026-11-17"
    },
    "F33": {
      "label": "Repository stars, fast-json-patch",
      "display": "2.0K",
      "asOf": "2026-11-17"
    },
    "F34": {
      "label": "Compares object trees, fast-json-patch",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F35": {
      "label": "Applies patches, fast-json-patch",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F36": {
      "label": "Output formats, fast-json-patch",
      "display": "JSON",
      "asOf": "2026-11-17"
    },
    "F37": {
      "label": "Install, fast-json-patch",
      "display": "npm install fast-json-patch",
      "asOf": "2026-11-17"
    },
    "F38": {
      "label": "What it does, fast-json-patch",
      "display": "Generates, validates, and applies JSON Patch operations on object trees.",
      "asOf": "2026-11-17"
    },
    "F39": {
      "label": "strengths lead, fast-json-patch",
      "display": "Tracks changes to observed objects",
      "asOf": "2026-11-17"
    },
    "F40": {
      "label": "strengths, fast-json-patch",
      "display": "Observe an object and generate the pending patch operations.",
      "asOf": "2026-11-17"
    },
    "F41": {
      "label": "strengths lead, fast-json-patch",
      "display": "Validates patches against a document",
      "asOf": "2026-11-17"
    },
    "F42": {
      "label": "strengths, fast-json-patch",
      "display": "Validate operation sequences against the target object tree.",
      "asOf": "2026-11-17"
    },
    "F43": {
      "label": "limitations lead, fast-json-patch",
      "display": "Patch application mutates by default",
      "asOf": "2026-11-17"
    },
    "F44": {
      "label": "limitations, fast-json-patch",
      "display": "Disable mutateDocument or clone the document before applying changes.",
      "asOf": "2026-11-17"
    },
    "F45": {
      "label": "limitations lead, fast-json-patch",
      "display": "Undefined values change meaning",
      "asOf": "2026-11-17"
    },
    "F46": {
      "label": "limitations, fast-json-patch",
      "display": "Undefined object properties disappear; undefined array entries become null.",
      "asOf": "2026-11-17"
    },
    "F47": {
      "label": "Quickstart, fast-json-patch",
      "display": "import * as jsonpatch from 'fast-json-patch';\nimport { applyOperation } from 'fast-json-patch';\n\nvar document = { firstName: \"Joachim\", lastName: \"Wester\", contactDetails: { phoneNumbers: [ { number:\"555-123\" }] } };\nvar observer = jsonpatch.observe(document);\ndocument.firstName = \"Albert\";\ndocument.contactDetails.phoneNumbers[0].number = \"123\";\ndocument.contactDetails.phoneNumbers.push({ number:\"456\" });\nvar patch = jsonpatch.generate(observer, true);\n// patch  == [\n//   { op: \"test\", path: \"/firstName\", value: \"Joachim\"},\n//   { op: \"replace\", path: \"/firstName\", value: \"Albert\"},\n//   { op: \"test\", path: \"/contactDetails/phoneNumbers/0/number\", value: \"555-123\" },\n//   { op: \"replace\", path: \"/contactDetails/phoneNumbers/0/number\", value: \"123\" },\n//   { op: \"add\", path: \"/contactDetails/phoneNumbers/1\", value: {number:\"456\"}}\n// ];\n",
      "asOf": "2026-11-17"
    },
    "F48": {
      "label": "Project function, fast-json-patch",
      "display": "async patchFeature(\n        project: string,\n        featureName: string,\n        createdBy: string,\n        operations: Operation[],\n    ): Promise<FeatureToggle> {\n        const featureToggle = await this.getFeatureMetadata(featureName);\n\n        if (operations.some((op) => op.path.indexOf('/variants') >= 0)) {\n            throw new OperationDeniedError(\n                `Changing variants is done via PATCH operation to /api/admin/projects/:project/features/:feature/variants`,\n            );\n        }\n        const { newDocument } = applyPatch(\n            deepClone(featureToggle),\n            operations,\n        );\n\n        const updated = await this.updateFeatureToggle(\n            project,\n            newDocument,\n            createdBy,\n        );\n\n        if (featureToggle.stale !== newDocument.stale) {\n            const tags = await this.tagStore.getAllTagsForFeature(featureName);\n\n            await this.eventStore.store(\n                new FeatureStaleEvent({\n                    stale: newDocument.stale,\n                    project,\n                    featureName,\n                    createdBy,\n                    tags,\n                }),\n            );\n        }\n\n        return updated;\n    }\n",
      "asOf": "2026-11-17"
    },
    "F49": {
      "label": "Project function reference, fast-json-patch",
      "display": "feature-toggle-service.ts · patchFeature()",
      "asOf": "2026-11-17"
    },
    "F50": {
      "label": "Project repository, fast-json-patch",
      "display": "Unleash/unleash",
      "asOf": "2026-11-17"
    },
    "F51": {
      "label": "Project stars, Unleash/unleash",
      "display": "14.3K",
      "asOf": "2026-11-17"
    },
    "F52": {
      "label": "Project push date, Unleash/unleash",
      "display": "Nov 2026",
      "asOf": "2026-11-16"
    },
    "F53": {
      "label": "Library name, diff-match-patch",
      "display": "diff-match-patch",
      "asOf": "2026-11-17"
    },
    "F54": {
      "label": "Monthly downloads, diff-match-patch",
      "display": "41.6M",
      "asOf": "2026-11-15"
    },
    "F55": {
      "label": "License, diff-match-patch",
      "display": "Apache-2.0",
      "asOf": "2026-11-17"
    },
    "F56": {
      "label": "Package release, diff-match-patch",
      "display": "1.0.5",
      "asOf": "2026-11-17"
    },
    "F57": {
      "label": "Undated package release, diff-match-patch",
      "display": "v1.0.5",
      "asOf": "2026-11-17"
    },
    "F58": {
      "label": "Repository stars, diff-match-patch",
      "display": "269",
      "asOf": "2026-11-17"
    },
    "F59": {
      "label": "Compares text, diff-match-patch",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F60": {
      "label": "Applies patches, diff-match-patch",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F61": {
      "label": "Output formats, diff-match-patch",
      "display": "Text",
      "asOf": "2026-11-17"
    },
    "F62": {
      "label": "Install, diff-match-patch",
      "display": "npm install diff-match-patch",
      "asOf": "2026-11-17"
    },
    "F63": {
      "label": "What it does, diff-match-patch",
      "display": "Diffs text, finds approximate matches, and applies text patches.",
      "asOf": "2026-11-17"
    },
    "F64": {
      "label": "strengths lead, diff-match-patch",
      "display": "Cleans up readable text differences",
      "asOf": "2026-11-17"
    },
    "F65": {
      "label": "strengths, diff-match-patch",
      "display": "Semantic cleanup groups coincidental matches into more understandable edits.",
      "asOf": "2026-11-17"
    },
    "F66": {
      "label": "strengths lead, diff-match-patch",
      "display": "Reports individual patch outcomes",
      "asOf": "2026-11-17"
    },
    "F67": {
      "label": "strengths, diff-match-patch",
      "display": "patch_apply returns changed text and success flags.",
      "asOf": "2026-11-17"
    },
    "F68": {
      "label": "limitations lead, diff-match-patch",
      "display": "Timed diffs can be nonoptimal",
      "asOf": "2026-11-17"
    },
    "F69": {
      "label": "limitations, diff-match-patch",
      "display": "A timeout returns a valid difference without guaranteeing the smallest edit.",
      "asOf": "2026-11-17"
    },
    "F70": {
      "label": "limitations lead, diff-match-patch",
      "display": "Large patches complicate success tracking",
      "asOf": "2026-11-17"
    },
    "F71": {
      "label": "limitations, diff-match-patch",
      "display": "Internal splitting can make result flags outnumber the original patches.",
      "asOf": "2026-11-17"
    },
    "F72": {
      "label": "Quickstart, diff-match-patch",
      "display": "import DiffMatchPatch from 'diff-match-patch';\n\nconst dmp = new DiffMatchPatch();\nconst diff = dmp.diff_main('dogs bark', 'cats bark');\n\n// You can also use the following properties:\nDiffMatchPatch.DIFF_DELETE = -1;\nDiffMatchPatch.DIFF_INSERT = 1;\nDiffMatchPatch.DIFF_EQUAL = 0;\n",
      "asOf": "2026-11-17"
    },
    "F73": {
      "label": "Project function, diff-match-patch",
      "display": "public static applyTextPatchLegacy(text: string, patch: string): string {\n\t\tpatch = dmp.patch_fromText(patch);\n\t\tconst result = dmp.patch_apply(patch, text);\n\t\tif (!result || !result.length) throw new Error('Could not apply patch');\n\t\treturn result[0];\n\t}\n",
      "asOf": "2026-11-17"
    },
    "F74": {
      "label": "Project function reference, diff-match-patch",
      "display": "Revision.ts · applyTextPatchLegacy()",
      "asOf": "2026-11-17"
    },
    "F75": {
      "label": "Project repository, diff-match-patch",
      "display": "laurent22/joplin",
      "asOf": "2026-11-17"
    },
    "F76": {
      "label": "Project stars, laurent22/joplin",
      "display": "57.2K",
      "asOf": "2026-11-17"
    },
    "F77": {
      "label": "Project push date, laurent22/joplin",
      "display": "Nov 2026",
      "asOf": "2026-11-16"
    },
    "F78": {
      "label": "Library name, jsondiffpatch",
      "display": "jsondiffpatch",
      "asOf": "2026-11-17"
    },
    "F79": {
      "label": "Monthly downloads, jsondiffpatch",
      "display": "12.3M",
      "asOf": "2026-11-15"
    },
    "F80": {
      "label": "License, jsondiffpatch",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F81": {
      "label": "Package release, jsondiffpatch",
      "display": "0.7.7",
      "asOf": "2026-11-17"
    },
    "F82": {
      "label": "Undated package release, jsondiffpatch",
      "display": "v0.7.7",
      "asOf": "2026-11-17"
    },
    "F83": {
      "label": "Repository stars, jsondiffpatch",
      "display": "5.4K",
      "asOf": "2026-11-17"
    },
    "F84": {
      "label": "Compares text, jsondiffpatch",
      "display": "Via plugin",
      "asOf": "2026-11-17"
    },
    "F85": {
      "label": "Compares object trees, jsondiffpatch",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F86": {
      "label": "Applies patches, jsondiffpatch",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F87": {
      "label": "Reverses patches, jsondiffpatch",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F88": {
      "label": "Output formats, jsondiffpatch",
      "display": "JSON",
      "asOf": "2026-11-17"
    },
    "F89": {
      "label": "Install, jsondiffpatch",
      "display": "npm install jsondiffpatch",
      "asOf": "2026-11-17"
    },
    "F90": {
      "label": "What it does, jsondiffpatch",
      "display": "Compares nested JavaScript objects and applies reversible deltas.",
      "asOf": "2026-11-17"
    },
    "F91": {
      "label": "strengths lead, jsondiffpatch",
      "display": "Detects moved array items",
      "asOf": "2026-11-17"
    },
    "F92": {
      "label": "strengths, jsondiffpatch",
      "display": "Array deltas record moves instead of deleting and reinserting values.",
      "asOf": "2026-11-17"
    },
    "F93": {
      "label": "strengths lead, jsondiffpatch",
      "display": "Reverses saved changes",
      "asOf": "2026-11-17"
    },
    "F94": {
      "label": "strengths, jsondiffpatch",
      "display": "Reverse a delta or unpatch an object to restore its earlier state.",
      "asOf": "2026-11-17"
    },
    "F95": {
      "label": "limitations lead, jsondiffpatch",
      "display": "Array objects need stable identities",
      "asOf": "2026-11-17"
    },
    "F96": {
      "label": "limitations, jsondiffpatch",
      "display": "Supply objectHash to match changed objects across array positions.",
      "asOf": "2026-11-17"
    },
    "F97": {
      "label": "limitations lead, jsondiffpatch",
      "display": "Text diffs need another engine",
      "asOf": "2026-11-17"
    },
    "F98": {
      "label": "limitations, jsondiffpatch",
      "display": "Use with-text-diffs or supply the text-diff dependency explicitly.",
      "asOf": "2026-11-17"
    },
    "F99": {
      "label": "Quickstart, jsondiffpatch",
      "display": "import * as jsondiffpatch from 'jsondiffpatch';\n\n// sample data\nconst country = {\n  name: 'Argentina',\n  capital: 'Buenos Aires',\n  independence: new Date(1816, 6, 9),\n};\n\n// clone country, using dateReviver for Date objects\nconst country2 = JSON.parse(JSON.stringify(country), jsondiffpatch.dateReviver);\n\n// make some changes\ncountry2.name = 'Republica Argentina';\ncountry2.population = 41324992;\ndelete country2.capital;\n\nconst delta = jsondiffpatch.diff(country, country2);\n\n",
      "asOf": "2026-11-17"
    },
    "F100": {
      "label": "Developer need",
      "display": "Text files and unified patches",
      "asOf": "2026-11-17"
    },
    "F101": {
      "label": "Why choose diff",
      "display": "reversible structured unified patches",
      "asOf": "2026-11-17"
    },
    "F102": {
      "label": "Developer need in introduction",
      "display": "text files and unified patches",
      "asOf": "2026-11-17"
    },
    "F103": {
      "label": "When to consider jsondiffpatch",
      "display": "reversible object deltas fit the workflow",
      "asOf": "2026-11-17"
    },
    "F104": {
      "label": "Developer need",
      "display": "Reversible object changes",
      "asOf": "2026-11-17"
    },
    "F105": {
      "label": "Why choose jsondiffpatch",
      "display": "reversing and unpatching saved deltas",
      "asOf": "2026-11-17"
    },
    "F106": {
      "label": "Developer need in introduction",
      "display": "reversible object changes",
      "asOf": "2026-11-17"
    },
    "F107": {
      "label": "When to consider fast-json-patch",
      "display": "observing object changes is the main workflow",
      "asOf": "2026-11-17"
    },
    "F108": {
      "label": "Developer need",
      "display": "Observed object changes",
      "asOf": "2026-11-17"
    },
    "F109": {
      "label": "Why choose fast-json-patch",
      "display": "generating operations from observed object mutations",
      "asOf": "2026-11-17"
    },
    "F110": {
      "label": "Developer need in introduction",
      "display": "observed object changes",
      "asOf": "2026-11-17"
    },
    "F111": {
      "label": "When to consider jsondiffpatch",
      "display": "saved deltas must support unpatching",
      "asOf": "2026-11-17"
    },
    "F112": {
      "label": "Developer need",
      "display": "Readable text differences",
      "asOf": "2026-11-17"
    },
    "F113": {
      "label": "Why choose diff-match-patch",
      "display": "semantic cleanup of text differences",
      "asOf": "2026-11-17"
    },
    "F114": {
      "label": "Developer need in introduction",
      "display": "readable text differences",
      "asOf": "2026-11-17"
    },
    "F115": {
      "label": "When to consider diff",
      "display": "the workflow needs reversible unified patches",
      "asOf": "2026-11-17"
    },
    "F116": {
      "label": "Page introduction",
      "display": "JavaScript diff libraries compare two versions of text or data and describe the changes between them.",
      "asOf": "2026-11-17"
    },
    "F117": {
      "label": "FAQ: Which JavaScript diff library fits each kind of change?",
      "display": "jsdiff compares text tokens and supports unified patches.",
      "asOf": "2026-11-17"
    },
    "F118": {
      "label": "FAQ: Which JavaScript diff library fits each kind of change?",
      "display": "jsondiffpatch creates deep deltas that can be patched and reversed.",
      "asOf": "2026-11-17"
    },
    "F119": {
      "label": "FAQ: Which JavaScript diff library fits each kind of change?",
      "display": "fast-json-patch compares objects and generates operations from observations.",
      "asOf": "2026-11-17"
    },
    "F120": {
      "label": "FAQ: Which JavaScript diff library fits each kind of change?",
      "display": "diff-match-patch returns text differences and applies text patches.",
      "asOf": "2026-11-17"
    },
    "F121": {
      "label": "FAQ: Does jsdiff diffJson produce structural path operations?",
      "display": "diffJson first sorts object properties, serializes them as pretty JSON, and compares the lines.",
      "asOf": "2026-11-17"
    },
    "F122": {
      "label": "FAQ: Why do array moves need objectHash in jsondiffpatch?",
      "display": "Matching moved objects requires stable identities; otherwise the fallback matches by position.",
      "asOf": "2026-11-17"
    },
    "F123": {
      "label": "FAQ: Why do array moves need objectHash in jsondiffpatch?",
      "display": "The default array algorithm detects moved items.",
      "asOf": "2026-11-17"
    },
    "F124": {
      "label": "FAQ: Is text diffing included in the jsondiffpatch main entry point?",
      "display": "Text diffing needs the diff-match-patch dependency supplied in options or the with-text-diffs entry point.",
      "asOf": "2026-11-17"
    },
    "F125": {
      "label": "FAQ: Does fast-json-patch modify the original document?",
      "display": "applyPatch mutates by default; mutateDocument controls whether it clones first.",
      "asOf": "2026-11-17"
    },
    "F126": {
      "label": "FAQ: Does invertible generate an undo patch?",
      "display": "The documented invertible option adds a test of the old value before each change.",
      "asOf": "2026-11-17"
    },
    "F127": {
      "label": "FAQ: How can patch operations be checked against the target document?",
      "display": "fast-json-patch validate checks the sequence against the object tree when a document is supplied.",
      "asOf": "2026-11-17"
    },
    "F128": {
      "label": "FAQ: Can jsdiff return undefined instead of differences?",
      "display": "maxEditLength returns undefined when the configured edit-distance bound is reached.",
      "asOf": "2026-11-17"
    },
    "F129": {
      "label": "FAQ: Can jsdiff return undefined instead of differences?",
      "display": "timeout also aborts supported diff functions with undefined.",
      "asOf": "2026-11-17"
    },
    "F130": {
      "label": "FAQ: Does fuzzFactor allow arbitrary patch mismatches?",
      "display": "Deleted lines must remain present and context immediately around insertions must match exactly.",
      "asOf": "2026-11-17"
    },
    "F131": {
      "label": "FAQ: Does a diff-match-patch timeout mean the difference is invalid?",
      "display": "A timed-out diff is still valid but can be nonoptimal.",
      "asOf": "2026-11-17"
    },
    "F132": {
      "label": "FAQ: Should every patch success flag be checked?",
      "display": "diff-match-patch returns flags indicating which patches applied.",
      "asOf": "2026-11-17"
    },
    "F133": {
      "label": "FAQ: Should every patch success flag be checked?",
      "display": "Large patches can split internally, so flags need not map directly to original patch objects.",
      "asOf": "2026-11-17"
    },
    "F134": {
      "label": "FAQ: Can a jsondiffpatch delta keep references to changing objects?",
      "display": "cloneDiffValues defaults to false; enabling it clones values to avoid references to the compared objects.",
      "asOf": "2026-11-17"
    },
    "F135": {
      "label": "Library name, diff",
      "display": "jsdiff",
      "asOf": "2026-11-20"
    },
    "F136": {
      "label": "Monthly downloads, diff",
      "display": "735.9M",
      "asOf": "2026-11-20"
    },
    "F137": {
      "label": "License, diff",
      "display": "BSD-3-Clause",
      "asOf": "2026-11-20"
    },
    "F138": {
      "label": "Package release, diff",
      "display": "9.0.0",
      "asOf": "2026-11-20"
    },
    "F139": {
      "label": "Package release date, diff",
      "display": "Apr 2026",
      "asOf": "2026-11-20"
    },
    "F140": {
      "label": "Install, diff",
      "display": "npm install diff@9.0.0",
      "asOf": "2026-11-20"
    },
    "F141": {
      "label": "Quickstart, diff",
      "display": "const { diffChars } = require('diff');\n\nconsole.log(diffChars('hello', 'hello world'));\n",
      "asOf": "2026-11-20"
    },
    "F142": {
      "label": "Repository stars, diff",
      "display": "9.2K",
      "asOf": "2026-11-20"
    },
    "F143": {
      "label": "Text edit operations, diff",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F144": {
      "label": "Object field deltas, diff",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F145": {
      "label": "Applies patches, diff",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F146": {
      "label": "Native output representation, diff",
      "display": "Token changes and unified/structured text patches",
      "asOf": "2026-11-20"
    },
    "F147": {
      "label": "Project function, diff",
      "display": "export function getDiffStat(\n  fileName: string,\n  oldStr: string,\n  aiStr: string,\n  userStr: string,\n): DiffStat {\n  const getStats = (patch: Diff.StructuredPatch) => {\n    let addedLines = 0;\n    let removedLines = 0;\n    let addedChars = 0;\n    let removedChars = 0;\n\n    patch.hunks.forEach((hunk: Diff.StructuredPatchHunk) => {\n      hunk.lines.forEach((line: string) => {\n        if (line.startsWith('+')) {\n          addedLines++;\n          addedChars += line.length - 1;\n        } else if (line.startsWith('-')) {\n          removedLines++;\n          removedChars += line.length - 1;\n        }\n      });\n    });\n    return { addedLines, removedLines, addedChars, removedChars };\n  };\n\n  const modelPatch = Diff.structuredPatch(\n    fileName,\n    fileName,\n    oldStr,\n    aiStr,\n    'Current',\n    'Proposed',\n    DEFAULT_STRUCTURED_PATCH_OPTS,\n  );\n  const modelStats = getStats(modelPatch);\n\n  const userPatch = Diff.structuredPatch(\n    fileName,\n    fileName,\n    aiStr,\n    userStr,\n    'Proposed',\n    'User',\n    DEFAULT_STRUCTURED_PATCH_OPTS,\n  );\n  const userStats = getStats(userPatch);\n\n  return {\n    model_added_lines: modelStats.addedLines,\n    model_removed_lines: modelStats.removedLines,\n    model_added_chars: modelStats.addedChars,\n    model_removed_chars: modelStats.removedChars,\n    user_added_lines: userStats.addedLines,\n    user_removed_lines: userStats.removedLines,\n    user_added_chars: userStats.addedChars,\n    user_removed_chars: userStats.removedChars,\n  };\n}\n",
      "asOf": "2026-11-20"
    },
    "F148": {
      "label": "Project source file, diff",
      "display": "packages/core/src/tools/diffOptions.ts",
      "asOf": "2026-11-20"
    },
    "F149": {
      "label": "Project full_name, diff",
      "display": "google-gemini/gemini-cli",
      "asOf": "2026-11-20"
    },
    "F150": {
      "label": "Project stargazers_count, diff",
      "display": "108.9K",
      "asOf": "2026-11-20"
    },
    "F151": {
      "label": "Library name, jest-diff",
      "display": "jest-diff",
      "asOf": "2026-11-20"
    },
    "F152": {
      "label": "Monthly downloads, jest-diff",
      "display": "387.6M",
      "asOf": "2026-11-20"
    },
    "F153": {
      "label": "License, jest-diff",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F154": {
      "label": "Package release, jest-diff",
      "display": "30.5.2",
      "asOf": "2026-11-20"
    },
    "F155": {
      "label": "Package release date, jest-diff",
      "display": "Sep 2026",
      "asOf": "2026-11-20"
    },
    "F156": {
      "label": "Install, jest-diff",
      "display": "npm install jest-diff@30.5.2",
      "asOf": "2026-11-20"
    },
    "F157": {
      "label": "Quickstart, jest-diff",
      "display": "const { diff } = require('jest-diff');\n\nconsole.log(diff({ count: 1 }, { count: 2 }));\n",
      "asOf": "2026-11-20"
    },
    "F158": {
      "label": "Official description, jest-diff",
      "display": "Formats the differences between two values as text for people to review.",
      "asOf": "2026-11-20"
    },
    "F159": {
      "label": "Quickstart source file, jest-diff",
      "display": "README.md",
      "asOf": "2026-11-20"
    },
    "F160": {
      "label": "Repository stars, jest-diff",
      "display": "45.5K",
      "asOf": "2026-11-20"
    },
    "F161": {
      "label": "Text edit operations, jest-diff",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F162": {
      "label": "Object field deltas, jest-diff",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F163": {
      "label": "Applies patches, jest-diff",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F164": {
      "label": "Native output representation, jest-diff",
      "display": "Formatted comparison strings and raw text Diff tuples",
      "asOf": "2026-11-20"
    },
    "F165": {
      "label": "Project function, jest-diff",
      "display": "export function diffStrings__(a: string, b: string, diffOptions: DiffOptions): string {\n  // jest-diff recommends using `diffLinesUnified` if string lengths are above 20,000 for performance\n  if (a.length > 20_000 || b.length > 20_000) {\n    return diffLinesUnified(a.split('\\n'), b.split('\\n'), diffOptions);\n  }\n\n  return diffStringsUnified(a, b, diffOptions);\n}\n",
      "asOf": "2026-11-20"
    },
    "F166": {
      "label": "Project source file, jest-diff",
      "display": "packages/logger/src/diff.ts",
      "asOf": "2026-11-20"
    },
    "F167": {
      "label": "Project full_name, jest-diff",
      "display": "phenomnomnominal/betterer",
      "asOf": "2026-11-20"
    },
    "F168": {
      "label": "Project stargazers_count, jest-diff",
      "display": "638",
      "asOf": "2026-11-20"
    },
    "F169": {
      "label": "Library name, fast-diff",
      "display": "fast-diff",
      "asOf": "2026-11-20"
    },
    "F170": {
      "label": "Monthly downloads, fast-diff",
      "display": "178.1M",
      "asOf": "2026-11-20"
    },
    "F171": {
      "label": "License, fast-diff",
      "display": "Apache-2.0",
      "asOf": "2026-11-20"
    },
    "F172": {
      "label": "Package release, fast-diff",
      "display": "1.3.0",
      "asOf": "2026-11-20"
    },
    "F173": {
      "label": "Package release date, fast-diff",
      "display": "May 2023",
      "asOf": "2026-11-20"
    },
    "F174": {
      "label": "Install, fast-diff",
      "display": "npm install fast-diff@1.3.0",
      "asOf": "2026-11-20"
    },
    "F175": {
      "label": "Quickstart, fast-diff",
      "display": "const diff = require('fast-diff');\n\nconsole.log(diff('hello', 'hello world'));\n",
      "asOf": "2026-11-20"
    },
    "F176": {
      "label": "Official description, fast-diff",
      "display": "Computes a text diff between two strings.",
      "asOf": "2026-11-20"
    },
    "F177": {
      "label": "Quickstart source file, fast-diff",
      "display": "README.md",
      "asOf": "2026-11-20"
    },
    "F178": {
      "label": "Repository stars, fast-diff",
      "display": "715",
      "asOf": "2026-11-20"
    },
    "F179": {
      "label": "Text edit operations, fast-diff",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F180": {
      "label": "Object field deltas, fast-diff",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F181": {
      "label": "Applies patches, fast-diff",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F182": {
      "label": "Native output representation, fast-diff",
      "display": "DELETE/INSERT/EQUAL string tuples",
      "asOf": "2026-11-20"
    },
    "F183": {
      "label": "Project function, fast-diff",
      "display": "export function prepareCodeChanges(oldCode: string, newCode: string) {\n  const diffResult = diff(oldCode, newCode)\n\n  const changes: { from: number; to: number; insert: string }[] = []\n  let offset = 0\n\n  // operation: 1=insert, -1=delete, 0=equal\n  for (const [operation, text] of diffResult) {\n    if (operation === 1) {\n      changes.push({\n        from: offset,\n        to: offset,\n        insert: text\n      })\n    } else if (operation === -1) {\n      changes.push({\n        from: offset,\n        to: offset + text.length,\n        insert: ''\n      })\n      offset += text.length\n    } else {\n      offset += text.length\n    }\n  }\n\n  return changes\n}\n",
      "asOf": "2026-11-20"
    },
    "F184": {
      "label": "Project source file, fast-diff",
      "display": "packages/ui/src/components/composites/code-editor/utils.ts",
      "asOf": "2026-11-20"
    },
    "F185": {
      "label": "Project full_name, fast-diff",
      "display": "CherryHQ/cherry-studio",
      "asOf": "2026-11-20"
    },
    "F186": {
      "label": "Project stargazers_count, fast-diff",
      "display": "53.7K",
      "asOf": "2026-11-20"
    },
    "F187": {
      "label": "Library name, fast-json-patch",
      "display": "fast-json-patch",
      "asOf": "2026-11-20"
    },
    "F188": {
      "label": "Monthly downloads, fast-json-patch",
      "display": "47.1M",
      "asOf": "2026-11-20"
    },
    "F189": {
      "label": "License, fast-json-patch",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F190": {
      "label": "Package release, fast-json-patch",
      "display": "3.1.1",
      "asOf": "2026-11-20"
    },
    "F191": {
      "label": "Package release date, fast-json-patch",
      "display": "Mar 2022",
      "asOf": "2026-11-20"
    },
    "F192": {
      "label": "Install, fast-json-patch",
      "display": "npm install fast-json-patch@3.1.1",
      "asOf": "2026-11-20"
    },
    "F193": {
      "label": "Quickstart, fast-json-patch",
      "display": "const { applyPatch } = require('fast-json-patch');\n\nconst document = { name: 'Ada' };\nconst patch = [{ op: 'replace', path: '/name', value: 'Grace' }];\nconst result = applyPatch(document, patch);\nconsole.log(result.newDocument);\n",
      "asOf": "2026-11-20"
    },
    "F194": {
      "label": "Repository stars, fast-json-patch",
      "display": "2.0K",
      "asOf": "2026-11-20"
    },
    "F195": {
      "label": "Text edit operations, fast-json-patch",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F196": {
      "label": "Object field deltas, fast-json-patch",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F197": {
      "label": "Applies patches, fast-json-patch",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F198": {
      "label": "Native output representation, fast-json-patch",
      "display": "RFC6902 JSON-pointer operation arrays",
      "asOf": "2026-11-20"
    },
    "F199": {
      "label": "Project function, fast-json-patch",
      "display": "async patchFeature(\n    project: string,\n    featureName: string,\n    createdBy: string,\n    operations: Operation[],\n): Promise<FeatureToggle> {\n    const featureToggle = await this.getFeatureMetadata(featureName);\n\n    if (operations.some((op) => op.path.indexOf('/variants') >= 0)) {\n        throw new OperationDeniedError(\n            `Changing variants is done via PATCH operation to /api/admin/projects/:project/features/:feature/variants`,\n        );\n    }\n    const { newDocument } = applyPatch(\n        deepClone(featureToggle),\n        operations,\n    );\n\n    const updated = await this.updateFeatureToggle(\n        project,\n        newDocument,\n        createdBy,\n    );\n\n    if (featureToggle.stale !== newDocument.stale) {\n        const tags = await this.tagStore.getAllTagsForFeature(featureName);\n\n        await this.eventStore.store(\n            new FeatureStaleEvent({\n                stale: newDocument.stale,\n                project,\n                featureName,\n                createdBy,\n                tags,\n            }),\n        );\n    }\n\n    return updated;\n}\n",
      "asOf": "2026-11-20"
    },
    "F200": {
      "label": "Project source file, fast-json-patch",
      "display": "src/lib/services/feature-toggle-service.ts",
      "asOf": "2026-11-20"
    },
    "F201": {
      "label": "Project full_name, fast-json-patch",
      "display": "Unleash/unleash",
      "asOf": "2026-11-20"
    },
    "F202": {
      "label": "Project stargazers_count, fast-json-patch",
      "display": "14.3K",
      "asOf": "2026-11-20"
    },
    "F203": {
      "label": "Library name, diff-match-patch",
      "display": "diff-match-patch",
      "asOf": "2026-11-20"
    },
    "F204": {
      "label": "Monthly downloads, diff-match-patch",
      "display": "42.8M",
      "asOf": "2026-11-20"
    },
    "F205": {
      "label": "License, diff-match-patch",
      "display": "Apache-2.0",
      "asOf": "2026-11-20"
    },
    "F206": {
      "label": "Package release, diff-match-patch",
      "display": "1.0.5",
      "asOf": "2026-11-20"
    },
    "F207": {
      "label": "Package release date, diff-match-patch",
      "display": "May 2020",
      "asOf": "2026-11-20"
    },
    "F208": {
      "label": "Install, diff-match-patch",
      "display": "npm install diff-match-patch@1.0.5",
      "asOf": "2026-11-20"
    },
    "F209": {
      "label": "Quickstart, diff-match-patch",
      "display": "import DiffMatchPatch from 'diff-match-patch';\nconst dmp = new DiffMatchPatch();\n\nconsole.log(dmp.diff_main('hello', 'hello world'));\n",
      "asOf": "2026-11-20"
    },
    "F210": {
      "label": "Repository stars, diff-match-patch",
      "display": "269",
      "asOf": "2026-11-20"
    },
    "F211": {
      "label": "Text edit operations, diff-match-patch",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F212": {
      "label": "Object field deltas, diff-match-patch",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F213": {
      "label": "Applies patches, diff-match-patch",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F214": {
      "label": "Native output representation, diff-match-patch",
      "display": "DMP text patch objects/serialized strings and diff tuples",
      "asOf": "2026-11-20"
    },
    "F215": {
      "label": "Library name, just-diff",
      "display": "just-diff",
      "asOf": "2026-11-20"
    },
    "F216": {
      "label": "Monthly downloads, just-diff",
      "display": "35.4M",
      "asOf": "2026-11-20"
    },
    "F217": {
      "label": "License, just-diff",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F218": {
      "label": "Package release, just-diff",
      "display": "6.0.2",
      "asOf": "2026-11-20"
    },
    "F219": {
      "label": "Package release date, just-diff",
      "display": "Mar 2023",
      "asOf": "2026-11-20"
    },
    "F220": {
      "label": "Install, just-diff",
      "display": "npm install just-diff@6.0.2",
      "asOf": "2026-11-20"
    },
    "F221": {
      "label": "Quickstart, just-diff",
      "display": "const { diff } = require('just-diff');\n\nconsole.log(diff({ count: 1 }, { count: 2 }));\n",
      "asOf": "2026-11-20"
    },
    "F222": {
      "label": "Official description, just-diff",
      "display": "Returns the differences between two objects, with an option to format them as JSON Patch.",
      "asOf": "2026-11-20"
    },
    "F223": {
      "label": "Quickstart source file, just-diff",
      "display": "README.md",
      "asOf": "2026-11-20"
    },
    "F224": {
      "label": "Repository stars, just-diff",
      "display": "6.2K",
      "asOf": "2026-11-20"
    },
    "F225": {
      "label": "Text edit operations, just-diff",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F226": {
      "label": "Object field deltas, just-diff",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F227": {
      "label": "Applies patches, just-diff",
      "display": "Via plugin",
      "asOf": "2026-11-20"
    },
    "F228": {
      "label": "Native output representation, just-diff",
      "display": "Array-path operations; optional JSON-pointer converter",
      "asOf": "2026-11-20"
    },
    "F229": {
      "label": "Project function, just-diff",
      "display": "export const diff = (\n  entry: LocaleObj,\n  target: LocaleObj,\n  config?: Pick<I18nConfig, 'keyStyle'>,\n) => {\n  const keyStyle = config?.keyStyle ?? 'nested';\n  const diffResult = justDiff(target, entry);\n  const add = diffResult.filter((item) => item.op === 'add');\n  const remove = diffResult.filter((item) => item.op === 'remove');\n\n  const cloneTarget = cloneDeep(target);\n  const extra: LocaleObj = {};\n\n  for (const item of remove) {\n    const path = resolveDiffPath(target, item.path as DiffPath, keyStyle);\n    unset(cloneTarget, path);\n  }\n\n  for (const item of add) {\n    const path = resolveDiffPath(entry, item.path as DiffPath, keyStyle);\n    // Use custom setByPath to preserve numeric string keys as object keys\n    const pathArray = Array.isArray(path) ? path : [path];\n    setByPath(extra, pathArray, item.value);\n  }\n\n  return {\n    add,\n    entry: extra,\n    remove,\n    target: cloneTarget,\n  };\n};\n",
      "asOf": "2026-11-20"
    },
    "F230": {
      "label": "Project source file, just-diff",
      "display": "packages/lobe-i18n/src/utils/diffJson.ts",
      "asOf": "2026-11-20"
    },
    "F231": {
      "label": "Project full_name, just-diff",
      "display": "lobehub/lobe-cli-toolbox",
      "asOf": "2026-11-20"
    },
    "F232": {
      "label": "Project stargazers_count, just-diff",
      "display": "421",
      "asOf": "2026-11-20"
    },
    "F233": {
      "label": "Library name, microdiff",
      "display": "microdiff",
      "asOf": "2026-11-20"
    },
    "F234": {
      "label": "Monthly downloads, microdiff",
      "display": "21.7M",
      "asOf": "2026-11-20"
    },
    "F235": {
      "label": "License, microdiff",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F236": {
      "label": "Package release, microdiff",
      "display": "1.6.0",
      "asOf": "2026-11-20"
    },
    "F237": {
      "label": "Package release date, microdiff",
      "display": "Aug 2026",
      "asOf": "2026-11-20"
    },
    "F238": {
      "label": "Install, microdiff",
      "display": "npm install microdiff@1.6.0",
      "asOf": "2026-11-20"
    },
    "F239": {
      "label": "Quickstart, microdiff",
      "display": "import diff from 'microdiff';\n\nconsole.log(diff({ count: 1 }, { count: 2 }));\n",
      "asOf": "2026-11-20"
    },
    "F240": {
      "label": "Official description, microdiff",
      "display": "Compares objects and arrays deeply with no dependencies.",
      "asOf": "2026-11-20"
    },
    "F241": {
      "label": "Quickstart source file, microdiff",
      "display": "README.md",
      "asOf": "2026-11-20"
    },
    "F242": {
      "label": "Repository stars, microdiff",
      "display": "3.9K",
      "asOf": "2026-11-20"
    },
    "F243": {
      "label": "Text edit operations, microdiff",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F244": {
      "label": "Object field deltas, microdiff",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F245": {
      "label": "Applies patches, microdiff",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F246": {
      "label": "Native output representation, microdiff",
      "display": "CREATE/REMOVE/CHANGE records with path and old/new values",
      "asOf": "2026-11-20"
    },
    "F247": {
      "label": "Library name, deep-object-diff",
      "display": "deep-object-diff",
      "asOf": "2026-11-20"
    },
    "F248": {
      "label": "Monthly downloads, deep-object-diff",
      "display": "19.4M",
      "asOf": "2026-11-20"
    },
    "F249": {
      "label": "License, deep-object-diff",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F250": {
      "label": "Package release, deep-object-diff",
      "display": "1.1.9",
      "asOf": "2026-11-20"
    },
    "F251": {
      "label": "Package release date, deep-object-diff",
      "display": "Nov 2022",
      "asOf": "2026-11-20"
    },
    "F252": {
      "label": "Install, deep-object-diff",
      "display": "npm install deep-object-diff@1.1.9",
      "asOf": "2026-11-20"
    },
    "F253": {
      "label": "Quickstart, deep-object-diff",
      "display": "const { diff } = require('deep-object-diff');\n\nconsole.log(diff({ count: 1 }, { count: 2 }));\n",
      "asOf": "2026-11-20"
    },
    "F254": {
      "label": "Official description, deep-object-diff",
      "display": "Compares two objects deeply, including nested arrays and objects, and returns the difference.",
      "asOf": "2026-11-20"
    },
    "F255": {
      "label": "Quickstart source file, deep-object-diff",
      "display": "README.md",
      "asOf": "2026-11-20"
    },
    "F256": {
      "label": "Repository stars, deep-object-diff",
      "display": "1.1K",
      "asOf": "2026-11-20"
    },
    "F257": {
      "label": "Text edit operations, deep-object-diff",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F258": {
      "label": "Object field deltas, deep-object-diff",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F259": {
      "label": "Applies patches, deep-object-diff",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F260": {
      "label": "Native output representation, deep-object-diff",
      "display": "Nested object deltas; undefined deletion markers",
      "asOf": "2026-11-20"
    },
    "F261": {
      "label": "Project function, deep-object-diff",
      "display": "export const ensure = (input: ThemeVars): StorybookTheme => {\n  if (!input) {\n    return convert(light);\n  }\n  const missing = deletedDiff(light, input);\n  if (Object.keys(missing).length) {\n    logger.warn(\n      dedent`\n          Your theme is missing properties, you should update your theme!\n\n          theme-data missing:\n        `,\n      missing\n    );\n  }\n\n  return convert(input);\n};\n",
      "asOf": "2026-11-20"
    },
    "F262": {
      "label": "Project source file, deep-object-diff",
      "display": "code/core/src/theming/ensure.ts",
      "asOf": "2026-11-20"
    },
    "F263": {
      "label": "Project full_name, deep-object-diff",
      "display": "storybookjs/storybook",
      "asOf": "2026-11-20"
    },
    "F264": {
      "label": "Project stargazers_count, deep-object-diff",
      "display": "91.6K",
      "asOf": "2026-11-20"
    },
    "F265": {
      "label": "Diffs any two values",
      "display": "Diffs any two values",
      "asOf": "2026-11-17"
    },
    "F266": {
      "label": "Pass two values of any type to get a formatted difference string.",
      "display": "Pass two values of any type to get a formatted difference string.",
      "asOf": "2026-11-17"
    },
    "F267": {
      "label": "Customizes annotations and colors",
      "display": "Customizes annotations and colors",
      "asOf": "2026-11-17"
    },
    "F268": {
      "label": "Set annotations, colors, and context lines through DiffOptions.",
      "display": "Set annotations, colors, and context lines through DiffOptions.",
      "asOf": "2026-11-17"
    },
    "F269": {
      "label": "Returns edit tuples",
      "display": "Returns edit tuples",
      "asOf": "2026-11-17"
    },
    "F270": {
      "label": "Read each change as a delete, insert, or equal tuple.",
      "display": "Read each change as a delete, insert, or equal tuple.",
      "asOf": "2026-11-17"
    },
    "F271": {
      "label": "Respects the cursor position",
      "display": "Respects the cursor position",
      "asOf": "2026-11-17"
    },
    "F272": {
      "label": "Pass a cursor position to place an ambiguous edit where the user typed.",
      "display": "Pass a cursor position to place an ambiguous edit where the user typed.",
      "asOf": "2026-11-17"
    },
    "F273": {
      "label": "No match or patch functions",
      "display": "No match or patch functions",
      "asOf": "2026-11-17"
    },
    "F274": {
      "label": "Patching and fuzzy matching stay in diff-match-patch.",
      "display": "Patching and fuzzy matching stay in diff-match-patch.",
      "asOf": "2026-11-17"
    },
    "F275": {
      "label": "Formats changes as JSON Patch",
      "display": "Formats changes as JSON Patch",
      "asOf": "2026-11-17"
    },
    "F276": {
      "label": "Pass jsonPatchPathConverter to get standard JSON Patch paths.",
      "display": "Pass jsonPatchPathConverter to get standard JSON Patch paths.",
      "asOf": "2026-11-17"
    },
    "F277": {
      "label": "Returns typed change records",
      "display": "Returns typed change records",
      "asOf": "2026-11-17"
    },
    "F278": {
      "label": "Read each change as CREATE, REMOVE, or CHANGE with its path.",
      "display": "Read each change as CREATE, REMOVE, or CHANGE with its path.",
      "asOf": "2026-11-17"
    },
    "F279": {
      "label": "Compares dates and regular expressions",
      "display": "Compares dates and regular expressions",
      "asOf": "2026-11-17"
    },
    "F280": {
      "label": "Compare Date and RegExp values by their content.",
      "display": "Compare Date and RegExp values by their content.",
      "asOf": "2026-11-17"
    },
    "F281": {
      "label": "Splits added, deleted, and updated values",
      "display": "Splits added, deleted, and updated values",
      "asOf": "2026-11-17"
    },
    "F282": {
      "label": "Call detailedDiff to get added, deleted, and updated values separately.",
      "display": "Call detailedDiff to get added, deleted, and updated values separately.",
      "asOf": "2026-11-17"
    }
  },
  "dataCheckedAt": "2026-11-20",
  "agent": {
    "exaCall": {
      "endpoint": "/search",
      "body": {
        "query": "Best JavaScript diff libraries jsdiff jsondiffpatch fast-json-patch diff-match-patch code examples",
        "numResults": 5
      },
      "docsUrl": "https://exa.ai/docs/reference/search"
    },
    "calls": []
  }
}
