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

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

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

3 个仓库

Awesome GitHub RepositoriesPlain Object to Class Instance Converters

Converts plain JavaScript objects into instances of specified classes, preserving type structure.

Distinct from Object Transformation: Distinct from Object Transformation: specifically converts plain objects into typed class instances, not general property manipulation.

Explore 3 awesome GitHub repositories matching data & databases · Plain Object to Class Instance Converters. Refine with filters or upvote what's useful.

Awesome Plain Object to Class Instance Converters GitHub Repositories

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

    typestack/class-transformer

    7,334在 GitHub 上查看↗

    class-transformer is a TypeScript library that converts plain JavaScript objects into typed class instances and back, using decorators to define transformation rules. It serves as a decorator-based object transformer, JSON deserialization library, and property transformation framework, enabling type-safe serialization and deserialization of class instances. The library distinguishes itself through comprehensive property filtering and mapping capabilities. It supports excluding properties by default, by prefix, by operation (serialization or deserialization), or by explicit marking, as well as

    Converts plain JavaScript objects into instances of specified classes with full type structure preservation.

    TypeScriptexposing-gettersexposing-propertiestransformation
    在 GitHub 上查看↗7,334
  • 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

    Reconstructs class instances with prototypes and methods from plain objects using factories, constructors, or field copies.

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

    python-attrs/attrs

    5,799在 GitHub 上查看↗

    attrs is a Python library that automatically generates initialization, representation, equality, hashing, and ordering methods from declarative class attribute definitions. At its core, it provides a class decorator metaprogramming framework that intercepts class creation to rewrite the class body, producing dunder methods without manual boilerplate. The library includes a comprehensive attribute validation toolkit with built-in validators for type checks, range constraints, regex matching, length limits, and logical composition of validation rules. The library distinguishes itself through it

    Converts plain Python dictionaries into typed attrs class instances and reverses the process.

    Python
    在 GitHub 上查看↗5,799
  1. Home
  2. Data & Databases
  3. Ordered Data Structures
  4. Ordered Collection Literals
  5. Object Collection Processors
  6. Object Transformation
  7. Plain Object to Class Instance Converters

探索子标签

  • Python Dict to Class Instance ConvertersConverts plain Python dictionaries into typed class instances, preserving type structure. **Distinct from Plain Object to Class Instance Converters:** Distinct from Plain Object to Class Instance Converters: targets Python classes, not JavaScript objects.