5 Repos
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.
Diese Bibliothek bietet ein strukturelles Muster für den Aufbau von UI-Komponenten unter Verwendung von ES6-Klassen und Decorators. Sie fungiert als TypeScript-Komponentenbibliothek, die es Entwicklern ermöglicht, Zustand und Logik innerhalb des Vue-Frameworks zu verwalten, indem Komponenten als Klassen anstelle von Standard-Optionsobjekten definiert werden. Das Projekt nutzt einen TypeScript-Decorator, um Klasseneigenschaften und -methoden in das vom Framework-Runtime benötigte Standardformat zu übersetzen. Dieser Ansatz ermöglicht eine klassenbasierte Komponentenarchitektur, die TypeScript für verbesserte Typsicherheit und Codeorganisation nutzt. Das System konvertiert klassenbasierte Definitionen in einfache JavaScript-Objekte durch prototypbasierte Logikextraktion und decoratorbasiertes Mapping. Zudem synchronisiert es Datenaktualisierungen, indem Klasseninstanzmitglieder auf das reaktive Zustandssystem der Komponente abgebildet werden.
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.