awesome-repositories.com
ब्लॉग
awesome-repositories.com

AI-संचालित खोज के साथ बेहतरीन ओपन-सोर्स रिपॉजिटरी खोजें।

एक्सप्लोर करेंक्यूरेटेड खोजेंओपन-सोर्स विकल्पसेल्फ-होस्टेड सॉफ्टवेयरब्लॉगसाइटमैप
प्रोजेक्टहमारे बारे मेंहम रैंकिंग कैसे करते हैंप्रेसMCP सर्वर
कानूनीगोपनीयताशर्तें
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
kpdecker avatar

kpdecker/jsdiff

0
View on GitHub↗
9,063 स्टार्स·528 फोर्क्स·JavaScript·bsd-3-clause·3 व्यूज़

Jsdiff

jsdiff is a JavaScript text diffing library and comparison engine used to compute differences between strings or arrays. It identifies additions and removals between blocks of text and provides a system for generating and applying formatted Unix-style patches.

The toolkit functions as a customizable token differ, allowing for the comparison of arbitrary token sequences using user-defined equality and tokenization rules. This enables the creation of specialized comparison tools for non-standard text or data formats.

Comparison capabilities are available at the character, word, and line levels. The library also supports multi-file patch processing to synchronize content across several files, including the handling of file renames and mode changes.

Features

  • Customizable Sequence Differs - Functions as a logic engine that compares two sequences of arbitrary tokens using user-defined rules.
  • Difference Calculations - Provides a general differencing algorithm to calculate additions and removals between strings at the character, word, or line level.
  • Text Tokenization Pipelines - Implements a customizable pipeline to transform raw text into tokens for granular comparison.
  • Diff-Based Patching - Implements mechanisms for applying granular code changes via diffs to update text blocks.
  • JavaScript Utility Libraries - Provides a comprehensive set of JavaScript utility functions for computing text differences and generating patches.
  • Patch Generators - Generates structured representations of changes in standard text-based patch formats compatible with Unix.
  • Unix Patch Implementations - Provides a system for applying and generating formatted Unix patch strings to update text files.
  • Comparison Engines - Implements the core logic layer responsible for calculating differences between blocks of text.
  • Sequence Comparison Algorithms - Provides the core logic to identify additions and deletions between two arrays of arbitrary tokens.
  • Textual Difference Analysis - Identifies specific changes between two blocks of text at the character, word, or line level.
  • Token-Based Differencing - Computes discrepancies between strings by splitting them into arrays of tokens for comparison.
  • Token Sequence Differencing - Implements a utility to compute differences between two arrays of arbitrary tokens using a customizable equality comparator.
  • Word-Level Comparison - A differencing process that identifies changes between two strings by treating words and punctuation as tokens.
  • Filesystem Patch Application - Modifies one or more files using a patch object to change content, renames, and modes.
  • Multi-File Patch Synchronization - Manages content updates across several files simultaneously, including file renames and mode changes.
  • Multi-File Patch Processing - Processes a series of changes across multiple files while managing file renames and mode changes.
  • Character-Level Diffing - Identifies changes between two strings by treating every individual Unicode code point as a token.
  • Pluggable Comparators - Allows the difference engine to use custom comparison functions to determine if two tokens are identical.
  • Diffing Rule Definitions - Provides interfaces for establishing custom identity and equality rules to control diffing behavior.
  • Line-Level Diffing - Identifies changes between two strings by treating each line as a token.
  • Text and String Utilities - Implements text difference algorithms for JavaScript.

स्टार हिस्ट्री

kpdecker/jsdiff के लिए स्टार हिस्ट्री चार्टkpdecker/jsdiff के लिए स्टार हिस्ट्री चार्ट

AI सर्च

और अधिक बेहतरीन रिपॉजिटरी खोजें

अपनी ज़रूरत को सरल भाषा में बताएं — AI हजारों क्यूरेटेड ओपन-सोर्स प्रोजेक्ट्स को प्रासंगिकता के आधार पर रैंक करता है।

Start searching with AI

Jsdiff के ओपन-सोर्स विकल्प

समान ओपन-सोर्स प्रोजेक्ट्स, जो Jsdiff के साथ साझा की गई सुविधाओं के आधार पर रैंक किए गए हैं।
  • sebastianbergmann/diffsebastianbergmann का अवतार

    sebastianbergmann/diff

    7,663GitHub पर देखें↗

    This is a sequence comparison library and text difference engine that implements the Myers diff algorithm to identify additions and deletions between two sequences of text or arrays. It functions as a tool for calculating the shortest edit script to determine exactly which elements were modified between two versions of a file. The project provides a unified diff generator to produce standard textual representations of changes for human review, as well as a unified diff parser that converts these strings into structured objects for programmatic analysis. The engine treats text inputs as array

    PHP
    GitHub पर देखें↗7,663
  • phuocng/1locphuocng का अवतार

    phuocng/1loc

    6,738GitHub पर देखें↗

    1loc is a JavaScript utility library and multifaceted toolkit providing a collection of single-line functions for common mathematical, string, date, and geometric operations. It functions as a set of functional programming helpers and data validation predicates designed to perform atomic transformations and validations. The project includes a geometry math library for calculating distances, angles, and spatial overlaps between points and rectangles, alongside a text manipulation library for casting, capitalizing, and analyzing string content. The toolkit covers broader capability areas inclu

    MDXeleventyjavascriptjavascript-utils
    GitHub पर देखें↗6,738
  • google/diff-match-patchgoogle का अवतार

    google/diff-match-patch

    8,065GitHub पर देखें↗

    This is a text diffing and patching library used for computing differences between text blocks, calculating edit distances, and applying patches to synchronize document versions. It includes a fuzzy text matching engine to locate strings by balancing accuracy with location, and a Levenshtein distance calculator to measure the number of character insertions, deletions, and substitutions between two strings. The library features a semantic diff optimizer that refines raw text differences to align with human-readable word and phrase boundaries. It provides utilities for generating and parsing se

    Pythondiffdifferencematch
    GitHub पर देखें↗8,065
  • winmerge/winmergeWinMerge का अवतार

    WinMerge/winmerge

    8,510GitHub पर देखें↗

    WinMerge is a visual file comparison and merge tool used to identify and synchronize differences between text files, folders, and images. It functions as a diff and patch generator, a visual folder synchronizer, and a hex binary comparator for non-text data. The tool provides specialized comparison modes for diverse content types, including side-by-side webpage rendering for HTML and resource trees, tabular data analysis for delimited files in a grid view, and visual image comparison using overlays and animations. It also supports comparing the contents of compressed archives without manual e

    C++c-plus-pluscompare-filescsv
    GitHub पर देखें↗8,510
Jsdiff के सभी 30 विकल्प देखें→

अक्सर पूछे जाने वाले प्रश्न

kpdecker/jsdiff क्या करता है?

jsdiff is a JavaScript text diffing library and comparison engine used to compute differences between strings or arrays. It identifies additions and removals between blocks of text and provides a system for generating and applying formatted Unix-style patches.

kpdecker/jsdiff की मुख्य विशेषताएं क्या हैं?

kpdecker/jsdiff की मुख्य विशेषताएं हैं: Customizable Sequence Differs, Difference Calculations, Text Tokenization Pipelines, Diff-Based Patching, JavaScript Utility Libraries, Patch Generators, Unix Patch Implementations, Comparison Engines।

kpdecker/jsdiff के कुछ ओपन-सोर्स विकल्प क्या हैं?

kpdecker/jsdiff के ओपन-सोर्स विकल्पों में शामिल हैं: sebastianbergmann/diff — This is a sequence comparison library and text difference engine that implements the Myers diff algorithm to identify… phuocng/1loc — 1loc is a JavaScript utility library and multifaceted toolkit providing a collection of single-line functions for… winmerge/winmerge — WinMerge is a visual file comparison and merge tool used to identify and synchronize differences between text files,… google/diff-match-patch — This is a text diffing and patching library used for computing differences between text blocks, calculating edit… ds300/patch-package — Patch-package is a utility that extends JavaScript package managers to capture and reapply local modifications made to… google/closure-library — Closure Library is a JavaScript standard library and utility toolset designed for building large-scale web…