awesome-repositories.com
Blog
MCP
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektMCP-ServerÜber unsRanking-MethodikPresse
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

3 Repos

Awesome GitHub RepositoriesArray Structure Matching

Testing that a subject is iterable with a specific number of items, matching each item against a sub-pattern.

Distinct from Structural Pattern Matching: Distinct from Structural Pattern Matching: focuses specifically on array/iterable length and element matching, not general structural matching.

Explore 3 awesome GitHub repositories matching programming languages & runtimes · Array Structure Matching. Refine with filters or upvote what's useful.

Awesome Array Structure Matching GitHub Repositories

Finde die besten Repos mit KI.Wir suchen mit KI nach den am besten passenden Repositories.
  • tc39/proposal-pattern-matchingAvatar von tc39

    tc39/proposal-pattern-matching

    5,782Auf GitHub ansehen↗

    This is a TC39 proposal to add declarative pattern matching syntax to the ECMAScript language. It introduces a match expression that allows developers to inspect and branch on data structures using patterns with destructuring, guards, and logical combinators. The proposal defines a custom matcher protocol via a well-known symbol, enabling objects to implement user-defined matching logic with arbitrary extraction and decomposition. The proposal supports matching against literal primitives using SameValue equality with special handling for signed zero and NaN, as well as relational comparison

    Tests that a subject is iterable with a specific number of items, matching each against sub-patterns.

    HTML
    Auf GitHub ansehen↗5,782
  • andrewplummer/sugarAvatar von andrewplummer

    andrewplummer/Sugar

    4,506Auf GitHub ansehen↗

    Sugar ist eine JavaScript-Utility-Bibliothek, die darauf ausgelegt ist, native Objekte und Prototypen um zusätzliche Methoden zur Datenmanipulation und -transformation zu erweitern. Sie fungiert als Toolkit für Objekt-Utilities, Datumsmanipulation, String-Inflektion und das Polyfilling fehlender oder fehlerhafter Standard-Sprachfunktionen. Die Bibliothek bietet die Möglichkeit, Utility-Methoden direkt auf eingebaute Prototypen zu mappen oder Werte in temporäre Objekte zu wrappen, um Method-Chaining zu ermöglichen, ohne globale Prototypen zu modifizieren. Sie enthält zudem ein Polyfill-System, um konsistentes Verhalten über verschiedene Ausführungsumgebungen hinweg sicherzustellen, indem fehlende moderne Sprachfunktionen implementiert werden. Die Funktionen umfassen internationale Datumsformatierung und das Parsen von humanisierten Datums-Strings. Die Bibliothek handhabt zudem natürliche Sprachverarbeitung durch String-Inflektion und Normalisierung, tiefe Eigenschaftstraversierung verschachtelter Objekte und locale-bewusste Array-Sortierung. Zusätzlich bietet sie Tools zum Klonen veränderbarer Objekte und zur Definition von Wertebereichen für Zahlen, Daten und Strings.

    Simplifies array element matching using strings, regular expressions, or partial object shortcuts.

    JavaScript
    Auf GitHub ansehen↗4,506
  • z-pattern-matching/zAvatar von z-pattern-matching

    z-pattern-matching/z

    1,715Auf GitHub ansehen↗

    Z is a pattern matching library for JavaScript that evaluates variables against structural shapes, data types, and literal values to branch program execution conditionally. It functions as a functional programming utility designed to deconstruct arrays and objects into parts during conditional evaluation. The library transforms human-friendly pattern matching syntax into optimized nested conditional statements during compilation or initialization phases, evaluating complex structural conditions and returning matching branch results directly as standard expression values. It inspects runtime d

    Evaluate variables against literal values, structural shapes, arrays, types, and class instances to branch program execution.

    JavaScriptfunctional-programmingimmutabilitypattern-matching
    Auf GitHub ansehen↗1,715
  1. Home
  2. Programming Languages & Runtimes
  3. Structural Pattern Matching
  4. Array Structure Matching

Unter-Tags erkunden

  • Flexible Array MatchingMatching array elements using shortcuts like regular expressions or partial objects. **Distinct from Array Structure Matching:** Distinct from Array Structure Matching: focuses on flexible element matching rather than just the structure or length of the iterable.