Directory

Open Source Packages

Libraries, frameworks, tools, and SDKs used by the apps in this directory — scored the same way as the apps themselves.

5929 packages

All Packages

60Health
Library npm

diff

A battle-tested JavaScript library for computing and applying text diffs at the character, word, line, sentence, CSS, or JSON level.

9,207
BSD 3
Used by 70
73Health
Library npm

filesize.js

Zero-dependency JavaScript utility that converts byte counts into human-readable file size strings, with SI, IEC, and JEDEC standard support.

1,709
BSD 3
Used by 15
38Health
Library npm

diff-match-patch

A battle-tested JavaScript port of Google's diff-match-patch engine for computing, applying, and fuzzy-matching text differences.

271
Apache 2.0
Used by 9
35Health
Library npm

@codemirror/merge

A diff and merge view extension for the CodeMirror 6 code editor

105
MIT
Used by 9
42Health
Library Cargo

rust-pretty-assertions

Drop-in replacements for Rust's assert_eq! and assert_ne! that print colorful, side-by-side diffs instead of raw Debug dumps.

1,358
Other
Used by 8
66Health
Library Cargo

similar

A dependency-free Rust diffing library with Myers, Patience, Histogram, and LCS algorithms

1,323
Apache 2.0
Used by 8
67Health
Library npm

react-diff-viewer-continued

A maintained React component for rendering GitHub-style text diffs

232
MIT
Used by 8
54Health
Library npm

diff2html

Generate pretty, GitHub-style HTML diffs from git diff or unified diff output

3,408
MIT
Used by 7
50Health
Library npm

jsondiffpatch

Diff and patch JavaScript objects with compact deltas, smart array diffing, and pluggable output formatters.

5,339
MIT
Used by 5
56Health
Library npm

microdiff

A tiny, zero-dependency library for deep diffing objects and arrays with full TypeScript support.

3,871
MIT
Used by 5
70Health
Library npm

expressive-code

A framework-agnostic engine that renders source code as richly annotated, syntax-highlighted HTML.

965
MIT
Used by 5
32Health
Library npm

fast-diff

A fast, dependency-free JavaScript library for computing diffs between two strings using Myers' O(ND) algorithm.

715
Apache 2.0
Used by 5
80Health
Library PyPI

python-unidiff

A typed Python library that parses unified diff data into inspectable PatchSet, PatchedFile, and Hunk objects.

286
MIT
Used by 5
35Health
Library npm

parse-diff

A fast, dependency-free unified diff parser that converts raw patch text into structured file, chunk, and line-change objects for JavaScript and TypeScript projects.

99
MIT
Used by 4
74Health
Library Go

libopenapi

A high-performance Go library for parsing, validating, mutating, bundling, and diffing OpenAPI 3.2/3.1/3.0, Swagger, Overlay, and Arazzo documents.

872
MIT
Used by 3
61Health
Library npm

rfc6902

A complete TypeScript implementation of RFC 6902 JSON Patch and RFC 6901 JSON Pointer for diffing, applying, and testing JSON documents.

379
MIT
Used by 3
48Health
Library npm

leven

Fast, dependency-free Levenshtein distance calculation for comparing and matching strings in JavaScript.

734
MIT
Used by 2
35Health
Library npm

js-levenshtein

The fastest JavaScript implementation of the Levenshtein edit-distance algorithm, optimized for speed and low memory use.

510
MIT
Used by 2
33Health
Library Cargo

similar-asserts

assert_eq!-style Rust macros with colorized diff output for readable test failures.

170
Apache 2.0
Used by 2
59Health
Library Cargo

diffy

A Rust library for computing, parsing, and applying text diffs, patches, and three-way merges.

123
Apache 2.0
Used by 1
43Health
Library PyPI

whatthepatch

A pure-Python library for parsing and applying unified, context, ed, and SCM-style patch/diff files.

78
MIT
Used by 1
39Health
Library npm

mendoza

A TypeScript decoder for the Mendoza diff format, applying structured patches to JSON documents with optional incremental history tracking.

46
MIT
Used by 1
33Health
Library Cargo

unidiff

Rust library for parsing unified diffs and extracting structured patch metadata.

38
MIT
Used by 1
28Health
Library npm

@sanity/diff-patch

Generates conflict-resistant Sanity patch mutations by diffing two JSON documents or values.

34
MIT
Used by 1

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers