Blazing-fast diff ecosystem for JavaScript applications
Blazing-fast diff ecosystem for JavaScript applications
BlazeDiff is a high-performance diff ecosystem. Originally built in JavaScript as a pixel-perfect image comparison library that's 1.5x faster than pixelmatch. Now, BlazeDiff has evolved into a comprehensive suite of blazing-fast diff tools including image comparison, image diff analysis deterministically + agent-in-the-loop verdict, object diffing, perceptual quality metrics, framework-agnostic UI renderers, and React components for visualizing differences.
@blazediff/core-native: block-based image diffing with SIMD (source)@blazediff/interpret-native (source)blazediff_ssim (source)blazediff_interpret (source)BlazeDiff packages are dual-published. Install from whichever registry fits your runtime.
# Node / Bun via npm
npm install @blazediff/core
bun i @blazediff/core
# Deno / Bun via JSR
deno add jsr:@blazediff/core
bunx jsr add @blazediff/core
# Rust via Cargo
cargo add blazediff
# Python via pip
pip install blazediff blazediff-ssim blazediff-interpretEvery package above is available on both registries except the test-runner adapters (@blazediff/vitest, @blazediff/jest, @blazediff/bun) and the UI libraries (@blazediff/ui, @blazediff/react), which remain NPM-only - the adapters augment each runner's Matchers types and the UI packages have browser-DOM and React type surfaces that JSR's publish-time slow-types check doesn't allow. Native-binary sub-packages under @blazediff/core-native-*, @blazediff/ssim-native-* and @blazediff/interpret-native-* are also NPM-only; Deno consumers resolve them transparently via npm: specifiers declared inside the parent package.
BlazeDiff delivers significant performance improvements across all components:
View Detailed Benchmarks - Complete performance data, test methodology, and hardware specifications.
Contributions are welcome! Please see the Contributing Guide for details.
MIT License - see LICENSE file for details.
The @blazediff/ssim and @blazediff/gmsd packages implement perceptual quality metrics based on published research. See the licenses folder for detailed attribution and licensing information:
Built for high-performance difference detection across images and data structures
No open issues yet, or sync has not completed.