{"library":"fast-diff","type":"library","category":null,"description":"fast-diff is a JavaScript utility for computing fast text differences between two strings. It is a simplified port of Google's `diff-match-patch` library, specifically optimized for diffing and excluding the match and patch functionalities. The library implements \"An O(ND) Difference Algorithm and its Variations\" (Myers, 1986) with additional optimizations. The current stable version is 1.3.0, released in October 2020. Its primary differentiator is its focus on high-performance string diffing without the overhead of pattern matching or patching, making it suitable for scenarios where only the differences are needed. The project has an infrequent release cadence, primarily focusing on stability rather than active feature development, as it's a mature port of a well-established algorithm.","language":"javascript","status":"maintenance","version":"1.3.0","tags":["javascript","diff","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install fast-diff","imports":["import diff from 'fast-diff';","import { INSERT, EQUAL, DELETE } from 'fast-diff';"]},{"cmd":"yarn add fast-diff","imports":[]},{"cmd":"pnpm add fast-diff","imports":[]}],"homepage":null,"github":"https://github.com/jhchen/fast-diff","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/fast-diff","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/fast-diff/compatibility"}}