awesome-repositories.com
Blog
awesome-repositories.com

Descoperă cele mai bune repository-uri open source cu căutare AI.

ExploreazăCăutări recomandateAlternative open-sourceSoftware self-hostedBlogHartă site
ProiectDespreCum realizăm clasamentulPresăServer MCP
LegalConfidențialitateTermeni
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

3 repository-uri

Awesome GitHub RepositoriesElement Type Extraction

Utilities to derive the type of elements contained within an array or tuple.

Distinct from Array Element: Focuses on extracting the type rather than defining the expected homogeneity of the array.

Explore 3 awesome GitHub repositories matching software engineering & architecture · Element Type Extraction. Refine with filters or upvote what's useful.

Awesome Element Type Extraction GitHub Repositories

Găsește cele mai bune repo-uri cu AI.Vom căuta cele mai potrivite repository-uri folosind AI.
  • sindresorhus/type-festAvatar sindresorhus

    sindresorhus/type-fest

    17,233Vezi pe GitHub↗

    type-fest is a library of reusable utility types for performing complex transformations and validations on objects, arrays, strings, and numeric ranges in TypeScript. It provides a collection of type definitions designed to handle advanced structural changes and constraints. The project distinguishes itself by offering specialized logic for string literal processing, such as casing transformations and pattern-based modifications, and type-level arithmetic for calculating numeric ranges and absolute values. It also includes utilities for enforcing deep immutability, ensuring union mutual exclu

    Provides a utility for retrieving the type of elements within an array or tuple.

    TypeScriptnpm-packagetypestypescript
    Vezi pe GitHub↗17,233
  • piotrwitek/utility-typesAvatar piotrwitek

    piotrwitek/utility-types

    5,759Vezi pe GitHub↗

    Aceasta este o bibliotecă de utilitare TypeScript care oferă alias-uri de tip avansate și tipuri mapate pentru transformări complexe de obiecte și uniuni. Implementează instrumente specializate pentru crearea de tipuri nominale marcate (branded types), extragerea metadatelor de tip și efectuarea operațiunilor de set pe tipuri de uniune. Proiectul se distinge printr-un toolkit pentru transformări recursive de obiecte, permițând aplicarea constrângerilor de proprietate precum starea read-only sau opțională pe structuri profund imbricate. De asemenea, oferă un sistem pentru calcularea intersecțiilor, diferențelor și complementelor între tipurile de uniune pentru a simula logica matematică a seturilor. Biblioteca acoperă o gamă largă de capabilități ale sistemului de tipuri, inclusiv filtrarea proprietăților obiectelor, compararea formelor și extragerea constructorilor de clase și a tipurilor de rezoluție a promisiunilor. Include, în plus, utilitare pentru validarea valorilor, cum ar fi detectarea valorilor falsy sau nullish și identificarea tipurilor primitive.

    Derives a union of all value types contained within an object, tuple, or array.

    TypeScriptmapped-typesstatic-typingtypescript
    Vezi pe GitHub↗5,759
  • ts-essentials/ts-essentialsAvatar ts-essentials

    ts-essentials/ts-essentials

    4,068Vezi pe GitHub↗

    ts-essentials este un set de instrumente cuprinzător de tipuri utilitare și biblioteci pentru TypeScript, oferind primitive avansate pentru transformări structurale recursive, aserțiuni la runtime și type guards. Servește drept bibliotecă utilitară pentru efectuarea programării complexe la nivel de tip pentru a asigura o siguranță mai puternică a tipurilor și a reduce boilerplate-ul. Proiectul se distinge printr-un set specializat de instrumente pentru manipularea profundă a obiectelor, cum ar fi aplicarea recursivă a modificatorilor read-only sau opționali în ierarhii imbricate. De asemenea, oferă un set dedicat de constrângeri stricte de tip pentru a asigura că structurile de date respectă în mod specific specificațiile JSON. Setul de instrumente acoperă o gamă largă de capabilități, inclusiv analiza tipurilor pentru extracția metadatelor, manipularea uniunilor și tuplelor și validarea identității structurale. Include, de asemenea, utilitare de verificare la runtime pentru a impune exhaustivitatea cazurilor în logica condițională și pentru a valida constrângerile de tip în timpul execuției.

    Resolves the core data type by returning element types for arrays, return types for functions, or property values for objects.

    TypeScriptessentialstoolboxtype-level-programming
    Vezi pe GitHub↗4,068
  1. Home
  2. Software Engineering & Architecture
  3. TypeScript Type Definitions
  4. Static Type Checking
  5. Type Specifications
  6. Array Element
  7. Element Type Extraction

Explorează sub-etichetele

  • First Element ExtractionsUtilities to retrieve the type of the first element specifically from a tuple or array. **Distinct from Element Type Extraction:** Distinct from Element Type Extraction by targeting specifically the first position rather than any element type.
  • Underlying Value ExtractionUtilities to resolve the core data type by unwrapping containers like arrays or function return signatures. **Distinct from Element Type Extraction:** Extracts the value type from various wrappers (functions, arrays, objects), not just elements from an array.