5 مستودعات
Converts class instances back into plain JavaScript objects for serialization or transmission.
Distinct from Object Transformation: Distinct from Object Transformation: specifically converts class instances to plain objects, not general property manipulation on arbitrary objects.
Explore 5 awesome GitHub repositories matching data & databases · Class Instance to Plain Object Converters. Refine with filters or upvote what's useful.
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 class instances back into plain JavaScript objects for serialization or transmission.
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
Converts a model tree into an immutable plain JavaScript object for transport or serialization.
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 class instances into plain dictionaries for serialization or inspection.
توفر هذه المكتبة نمطاً هيكلياً لبناء مكونات واجهة المستخدم باستخدام فئات ES6 والمزخرفات (decorators). تعمل كمكتبة مكونات TypeScript تسمح للمطورين بإدارة الحالة والمنطق داخل إطار عمل Vue من خلال تعريف المكونات كفئات بدلاً من استخدام كائنات الخيارات القياسية. يستخدم المشروع مزخرف TypeScript لترجمة خصائص وطرق الفئة إلى الصيغة القياسية المطلوبة بواسطة بيئة تشغيل إطار العمل. يتيح هذا النهج معمارية مكونات قائمة على الفئات تستفيد من TypeScript لتحسين أمان النوع وتنظيم الكود. يحول النظام التعريفات القائمة على الفئات إلى كائنات JavaScript عادية من خلال استخراج المنطق القائم على النموذج الأولي والتعيين القائم على المزخرفات. كما يزامن تحديثات البيانات عن طريق تعيين أعضاء مثيل الفئة لنظام الحالة التفاعلي للمكون.
Converts class-based component definitions into plain JavaScript objects to maintain compatibility with the framework's internal options system.
Orange3 is a visual data mining platform that provides an interactive canvas for building data analysis workflows without writing code. At its core, it offers a widget-based visual programming environment where users connect configurable components to perform data preprocessing, machine learning model training, statistical evaluation, and interactive visualization. The platform is built on NumPy-backed data tables with domain descriptors that define variable names, types, and roles, and includes a lazy SQL query proxy for working with database tables without loading all data into memory. The
Transforms individual data instances between different domain schemas with automatic value conversion.