awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目MCP 服务器关于排名机制媒体报道
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

14 个仓库

Awesome GitHub RepositoriesRuntime Type Validation

Mechanisms for verifying an object's class or type at runtime to ensure behavioral correctness.

Distinct from Object Shape Validation: Existing candidates focus on static type definitions or schema validation, not runtime class checks

Explore 14 awesome GitHub repositories matching programming languages & runtimes · Runtime Type Validation. Refine with filters or upvote what's useful.

Awesome Runtime Type Validation GitHub Repositories

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • gcanti/fp-tsgcanti 的头像

    gcanti/fp-ts

    11,523在 GitHub 上查看↗

    fp-ts is a TypeScript library that brings pure functional programming patterns to the language through algebraic data types, type class abstractions, and composable combinators. It provides foundational data types like Option for optional values, Either for typed error handling, and Task for lazy asynchronous computations, all designed to make invalid states unrepresentable and side effects explicit. The library is built on category theory concepts, offering type classes such as Functor, Applicative, Monad, Semigroup, and Monoid with lawful instances for common data structures. The library di

    Applies pure functional patterns with immutable data types and type classes for composable TypeScript code.

    TypeScriptalgebraic-data-typesfunctional-programmingtypescript
    在 GitHub 上查看↗11,523
  • torch/torch7torch 的头像

    torch/torch7

    9,127在 GitHub 上查看↗

    Torch7 is a scientific computing environment and tensor computation library used for deep learning research and numerical analysis. It functions as a Lua-based framework for training neural networks and learning agents, providing a toolkit for implementing architectures and training through reinforcement learning algorithms. The project is distinguished by its tight integration with C, utilizing a binding layer to map high-level scripting to low-level C structures for direct memory access. It supports hardware-accelerated computation by offloading linear algebra and convolution operations to

    Checks if an object belongs to a specific class by comparing its type specification at runtime.

    C
    在 GitHub 上查看↗9,127
  • open-circle/valibotopen-circle 的头像

    open-circle/valibot

    8,769在 GitHub 上查看↗

    Valibot is a modular, type-safe schema library for validating and parsing structural data in TypeScript environments.

    Verifies that unknown runtime data adheres to predefined schemas to ensure type safety.

    TypeScriptbundle-sizemodularparsing
    在 GitHub 上查看↗8,769
  • apache/beamapache 的头像

    apache/beam

    8,612在 GitHub 上查看↗

    Apache Beam is a distributed data pipeline framework and unified data processing model designed to handle both bounded batch data and unbounded real-time streams. It provides a system for building scalable, data-parallel workflows that operate across compute clusters using a single programming model. The framework utilizes a cross-runner pipeline abstraction that decouples the data processing logic from the underlying execution backend, allowing the same pipeline to run on different distributed compute engines. It supports multi-language pipeline development by translating high-level code fro

    Utilizes type hints during construction and runtime to detect bugs and ensure data type correctness.

    Java
    在 GitHub 上查看↗8,612
  • antonmedv/exprantonmedv 的头像

    antonmedv/expr

    7,905在 GitHub 上查看↗

    Expr is a high-performance expression evaluation engine and language for Go applications. It functions as a dynamic rule engine that parses and executes custom logic and data validations at runtime without requiring the application to be recompiled. The system utilizes a sandboxed logic executor to run expressions without side effects. It ensures program termination by employing instruction-level loop detection to prevent infinite loops and isolates the evaluation process from the host system. The engine employs a bytecode-based virtual machine and abstract syntax tree analysis to achieve ex

    Verifies that dynamic expressions adhere to specific data types during execution to ensure behavioral correctness.

    Go
    在 GitHub 上查看↗7,905
  • arktypeio/arktypearktypeio 的头像

    arktypeio/arktype

    7,780在 GitHub 上查看↗

    Arktype is a TypeScript runtime validation library and schema orchestrator. It synchronizes TypeScript types with runtime data validation, allowing users to define type-safe schemas that ensure unknown data adheres to specific structures during application execution. The project distinguishes itself by using set-theory type analysis to determine intersections and subtype compatibility, alongside JIT-compiled validation functions for optimized performance. It supports advanced type modeling through branded type constraints, recursive alias resolution, and the ability to generate runtime valida

    Provides a runtime validation library that synchronizes TypeScript types with data validation during application execution.

    TypeScriptjavascriptparsingruntime-typechecking
    在 GitHub 上查看↗7,780
  • mobxjs/mobx-state-treemobxjs 的头像

    mobxjs/mobx-state-tree

    7,050在 GitHub 上查看↗

    MobX State Tree is a structured, tree-based state management library for JavaScript applications that combines typed model definitions with reactive snapshots and patch-based change tracking. It provides a reactive state container with runtime and compile-time type safety, where application state is defined as a tree of typed models with collocated actions, computed views, and lifecycle hooks for predictable state mutations. The library is built around an action-centric mutation model that encapsulates all state changes within named functions that directly modify the tree, supported by genera

    Checks property assignments against defined runtime types, preventing accidental data type mismatches.

    TypeScripthacktoberfestmobxmobx-state-tree
    在 GitHub 上查看↗7,050
  • gcanti/io-tsgcanti 的头像

    gcanti/io-ts

    6,813在 GitHub 上查看↗

    io-ts is a TypeScript runtime validation library that provides a composable codec system for decoding and encoding data at the boundaries of an application. It defines data schemas using structural types, where the shape of data determines its validity rather than nominal names, and produces runtime type guards from those definitions for efficient validation checks. The library is built around bidirectional codec mappings that combine decoding, encoding, and type checking into single reusable units. It supports a composable decoder pipeline where small validation steps can be chained together

    Validates and transforms external data into typed structures using composable codecs at runtime.

    TypeScriptinferenceruntimetypes
    在 GitHub 上查看↗6,813
  • samchon/typiasamchon 的头像

    samchon/typia

    5,837在 GitHub 上查看↗

    Typia is a compile-time code generator that transforms TypeScript type annotations into runtime validation, serialization, and schema functions without requiring decorators or separate schema files. It generates optimized validation and serialization code during TypeScript compilation, producing dedicated functions for each type that eliminate runtime schema objects for faster execution. The project extends this core capability into several integrated areas. It generates fully typed client SDKs from NestJS controller source code, keeping server and client types synchronized automatically. It

    Transforms TypeScript type annotations into runtime validation, serialization, and parsing functions without decorators or separate schema files.

    Go
    在 GitHub 上查看↗5,837
  • python/typeshedpython 的头像

    python/typeshed

    5,076在 GitHub 上查看↗

    Typeshed 是一个为 Python 标准库和第三方包提供静态类型定义和存根(stubs)的集合。它作为静态分析器和集成开发环境(IDE)的标准资源,用于验证代码正确性并提供基于类型的代码补全,而无需修改库的原始源代码。 该项目专注于创建和维护外部类型提示文件,将类型注解与运行时实现分离。它利用一套版本控制系统,将这些存根映射到运行时包的特定版本,以保持兼容性。 该仓库包含一个验证套件,以确保这些定义的准确性。这涵盖了运行时到存根的验证(以识别声明类型与实际类型之间的不匹配)、目录结构验证以及回归测试(以防止已知类型检查错误的再次引入)。

    Ships a validation system that compares static type definitions against live Python objects to identify mismatches.

    Pythonpythonstubtypes
    在 GitHub 上查看↗5,076
  • facebook/prop-typesfacebook 的头像

    facebook/prop-types

    4,452在 GitHub 上查看↗

    prop-types 是一个 JavaScript 对象验证器和运行时类型检查器。它作为一个开发工具,用于验证对象属性是否符合预定义的规范,主要用于确保传递给 React 组件的数据与预期类型一致。 该实用程序通过在不匹配发生时向控制台记录警告而不是抛出异常来检测数据不一致。它采用有状态的警告缓存来防止重复日志,并将验证逻辑限制在非生产环境中,以避免在发布版本中产生性能开销。 该项目通过递归对象遍历和基于规范的匹配涵盖了数据验证。它还提供了开发人员工具,以便在测试周期内重置警告历史记录。

    Verifies object property types at runtime to ensure data aligns with predefined specifications.

    JavaScript
    在 GitHub 上查看↗4,452
  • ts-essentials/ts-essentialsts-essentials 的头像

    ts-essentials/ts-essentials

    4,068在 GitHub 上查看↗

    ts-essentials 是一个全面的 TypeScript 工具类型和库工具包,提供用于递归结构转换、运行时断言和类型保护的高级原语。它作为一个工具库,用于执行复杂的类型级编程,以确保更强的类型安全性并减少样板代码。 该项目通过一套专门用于深度对象操作的工具脱颖而出,例如在嵌套层次结构中递归应用只读或可选修饰符。它还提供了一套专门的严格类型约束,以确保数据结构专门符合 JSON 规范。 该工具包涵盖了广泛的功能,包括用于元数据提取的类型分析、联合和元组操作以及结构身份验证。它还包括运行时验证工具,以在条件逻辑中强制执行案例穷举并在执行期间验证类型约束。

    Verifies that a runtime value matches a specific expected type to ensure behavioral correctness.

    TypeScriptessentialstoolboxtype-level-programming
    在 GitHub 上查看↗4,068
  • fatih/structsfatih 的头像

    fatih/structs

    3,926在 GitHub 上查看↗

    Structs is a reflection utility and type inspection framework for Go. It provides tools for inspecting, converting, and validating data structures by extracting field names, tags, and values from Go objects. The library specializes in transforming Go structs into generic maps or slices for serialization and data manipulation. It utilizes tag-driven mapping to determine custom keys and exclusion rules during these transformations. The project covers broader capabilities including metadata extraction, type validation to verify if variables are structs or pointers, and initialization verificati

    Ensures type safety by confirming an object is a struct or pointer before applying reflection logic.

    Gogogolangstructs
    在 GitHub 上查看↗3,926
  • locutusjs/locutuslocutusjs 的头像

    locutusjs/locutus

    3,770在 GitHub 上查看↗

    Locutus is a multi-language utility library and polyfill collection written in TypeScript. It provides a comprehensive set of implementations for standard library functions from various programming languages, enabling developers to use familiar semantics and behaviors across different technical environments. The library functions as a cross-language standard library, porting core logic and utilities from diverse languages into a type-safe TypeScript toolset. It focuses on maintaining consistent behavior through a polyfill-based design that replicates the original functionality of these foreig

    Ships a suite of utilities for complex sequence iterations, statistical calculations, and precision mathematics.

    TypeScriptjavascriptportsprogramming-language
    在 GitHub 上查看↗3,770
  1. Home
  2. Programming Languages & Runtimes
  3. Runtime Type Validation

探索子标签

  • IO Decoding and Encoding Type SystemsA library that validates and transforms external data into typed structures using composable codecs at runtime. **Distinct from Runtime Type Validation:** Distinct from Runtime Type Validation: focuses on IO-specific decoding/encoding rather than general runtime type checking.
  • Stub-to-Runtime ValidationsChecks that static type definitions accurately reflect the actual types of objects at runtime. **Distinct from Runtime Type Validation:** Distinct from Runtime Type Validation: focuses on verifying external stub files against runtime objects rather than validating objects within the execution flow.
  • TypeScript Type-to-Code Validators1 个子标签Transforms TypeScript type annotations into runtime validation, serialization, and parsing functions without decorators or separate schema files. **Distinct from Runtime Type Validation:** Distinct from Runtime Type Validation: generates validation code from TypeScript types at compile time, not runtime class checks.