16 مستودعات
Utilities for filtering or modifying specific properties of an object during a cloning or duplication process.
Distinct from Entity Property Cloning: The provided candidates refer to game entity cloning or repository cloning; this is a general-purpose language-level object property transformer.
Explore 16 awesome GitHub repositories matching programming languages & runtimes · Object Property Transformers. Refine with filters or upvote what's useful.
DeepCopy is a recursive object cloning library designed to create independent copies of complex nested objects. It functions as a state snapshot utility and object cloning tool that produces clones while preserving the original object graph. The library includes a circular reference handler to duplicate data structures containing self-referencing loops without causing infinite recursion. It also serves as an object property transformer, allowing for the filtering or modification of specific fields and types during the cloning process based on custom matching criteria.
Provides the ability to filter or modify specific fields and types during the cloning process based on custom matching criteria.
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
Transforms object properties by applying mapping functions to keys, values, or property requirement levels.
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
Applies custom conversion logic, renaming, and filtering to object properties during serialization or deserialization.
ts-toolbelt is a collection of specialized utilities for manipulating and validating TypeScript types. It provides a toolkit for performing complex transformations on objects, unions, and functions to enforce strict data consistency at compile time. The library features dedicated transformers for function types, including utilities for currying, composition, and signature extraction. It also includes an object type manipulator for deep merging, patching, and reshaping complex structures. The capability surface extends to literal string processing, type-level arithmetic, and tuple operations.
A utility that modifies properties on object types by making them optional, required, or readonly.
This is a configuration manager for Node.js applications that handles hierarchical settings across different deployment environments. It functions as an environment-based loader and settings parser that merges default configurations with overrides based on the current runtime context and hostname. The project distinguishes itself through a priority-based merge strategy that incorporates environment variables, command-line arguments, and external data sources to supersede file-based settings. It supports multi-format parsing for JSON, YAML, JavaScript, and TypeScript files, and allows for cust
Implements recursive object merging to combine multiple configuration sources into a single nested structure.
This is a configuration library for JVM applications that parses HOCON, JSON, and Java properties files into an immutable tree structure. It resolves ${...} placeholders by traversing the configuration tree and falling back to environment variables and system properties, and validates loaded configurations against a reference schema. The library loads configuration from classpath resources, files, URLs, system properties, and environment variables, merging them with priority-based override semantics. It provides typed value access with automatic type coercion, supports dot-path navigation,
Combines configuration objects with precedence rules for layered settings.
Just is a collection of JavaScript utility libraries designed for data manipulation, functional programming, performance optimization, statistical analysis, and string processing. It provides a set of tools for deep cloning, filtering, and transforming complex objects and arrays. The project is structured as a series of zero-dependency modules, allowing utilities to be used independently to minimize bundle size. It implements functional programming patterns including currying, piping, and partial application, and provides execution control through memoization, debouncing, and throttling. The
Implements shallow assignment of properties from source objects into a target object.
Masuit.Tools is a comprehensive static utility library for .NET and ASP.NET Core development. It provides a broad collection of reusable helper methods and infrastructure components that cover common programming tasks without requiring dependency injection or instance management. The library is organized as flat utility classes, making its functionality directly accessible from anywhere in a project. The toolkit distinguishes itself through a wide range of integrated capabilities that go beyond typical utility libraries. It includes a multithreaded range-request file downloader with pause and
Copies non-null properties from several source objects into a single target object.
هذه مكتبة أنواع مساعدة لـ TypeScript توفر أسماء مستعارة للأنواع المتقدمة وأنواعاً معينة لتحويلات الكائنات والاتحادات المعقدة. تنفذ أدوات متخصصة لإنشاء أنواع اسمية ذات علامة تجارية، واستخراج بيانات تعريف النوع، وإجراء عمليات المجموعة على أنواع الاتحاد. يتميز المشروع بمجموعة أدوات لتحويلات الكائنات العودية، مما يسمح بتطبيق قيود الخصائص مثل حالة القراءة فقط أو الحالة الاختيارية عبر هياكل متداخلة بعمق. كما يوفر نظاماً لحساب التقاطعات، والفروق، والمكملات بين أنواع الاتحاد لمحاكاة منطق المجموعة الرياضي. تغطي المكتبة مجموعة واسعة من قدرات نظام النوع، بما في ذلك تصفية خصائص الكائن، ومقارنة الشكل، واستخراج منشئي الفئات وأنواع حل الوعود. تتضمن بالإضافة إلى ذلك أدوات مساعدة للتحقق من القيمة، مثل اكتشاف القيم الزائفة أو الفارغة وتحديد الأنواع البدائية.
Provides utilities for filtering specific properties from objects at the type level.
This is a JavaScript immutable data library used to create objects and arrays that prevent direct mutation. It serves as an immutable state manager and object wrapper designed to ensure data consistency by blocking modifications while remaining compatible with standard JavaScript syntax. The library functions as a converter that transforms standard mutable data into frozen structures and can convert them back for local modifications. This allows for a workflow where data is switched between immutable and mutable versions to perform bulk edits before locking the state again. The project provi
Combines multiple objects into a single immutable structure with support for deep merge configurations.
Radash هي مكتبة أدوات وظيفية لـ TypeScript مصممة لتحويل البيانات، والتحقق من الصحة، وإدارة سير العمل. توفر مجموعة من دوال المساعدة المكتوبة بأنواع لمعالجة المصفوفات، والكائنات، والسلاسل. يتميز المشروع بمجموعة أدوات سير عمل غير متزامنة لإدارة الوعود، وإعادة المحاولات، وحدود التزامن، إلى جانب مجموعة من أدوات التحقق المنطقية للتحقق من الأنواع البدائية، والكائنات، والوعود. كما يطبق أنماط البرمجة الوظيفية مثل تكوين الدوال، والتطبيق الجزئي، وأنماط الاستجابة الأولى للخطأ. تغطي المكتبة مساحة واسعة من القدرات، بما في ذلك إدارة حالة الكائن مع الاستنساخ والدمج العميق، ومعالجات المصفوفات المعقدة، وتنسيق السلاسل. توفر بالإضافة إلى ذلك أدوات لتحسين التنفيذ، مثل تحديد المعدل وتخزين النتائج مؤقتاً.
Implements recursive merging to combine nested data structures by traversing child properties.
Style Dictionary هو مولد أنماط عبر المنصات ونظام بناء لرموز التصميم (design tokens). يقوم بتحويل مصدر واحد لمتغيرات التصميم إلى تنسيقات مخرجات متعددة وملفات خاصة بالمنصة للحفاظ على مصدر حقيقة متسق عبر واجهات مختلفة. يعمل النظام كمنسق أنماط متعدد التنسيقات يدمج مصادر الرموز النمطية ويحولها بناءً على متطلبات المنصة المستهدفة. يستخدم واجهة تحويل قابلة للبرمجة لتعديل قيم وأسماء الرموز، مما يسمح بأتمتة أنماط نظام التصميم لتطبيقات الويب وiOS وAndroid. تعتمد عملية البناء على التكوين، باستخدام كائن مركزي لربط مجموعات الرموز بقواعد التحويل والمخرجات. يستخدم تمثيلاً وسيطاً للحفاظ على رموز المصدر مستقلة عن المنصة المستهدفة النهائية، مع استخدام محولات تنسيق قابلة للتوصيل لتحديد كيفية كتابة الرموز المعالجة إلى وجهات محددة.
Employs deep merging to combine multiple modular token source files into a single flattened style object.
هذا إطار عمل للتدويل (internationalization) لتطبيقات Angular. يوفر نظامًا لإدارة النصوص متعددة اللغات عن طريق ربط المفاتيح بالسلاسل المترجمة، باستخدام مدير ترجمة JSON لتحميل ودمج الأصول الموطنة عبر HTTP أو مصادر محلية. تتضمن المكتبة مبدل لغة وقت التشغيل لتحديث واجهة المستخدم فورًا دون إعادة تحميل الصفحة ومستخرج مفاتيح لتحديد السلاسل القابلة للترجمة داخل الكود المصدري. يتميز المشروع بمنسق رسائل ICU للتعامل مع المتطلبات اللغوية المعقدة مثل الجمع والجنس. يتميز ببنية محمل قائمة على الإضافات ومحللات استيفاء قابلة للتخصيص، مما يسمح للمطورين بتحديد منطق مخصص لجلب بيانات الترجمة وتنسيق المعلمات الديناميكية. تغطي المكتبة مجموعة واسعة من قدرات التوطين، بما في ذلك اكتشاف لغة المتصفح، وتكوين اللغة الاحتياطية، وتتبع الحالة التفاعلي باستخدام الإشارات لمراقبة تغييرات اللغة. كما تدعم استراتيجيات التوجيه الموطنة لعناوين URL الخاصة باللغة وتوفر أدوات للتحقق من مفاتيح الترجمة ومحاكاة الخدمة لضمان الجودة.
Implements recursive merging of translation resources to support shared dictionaries and locale-specific overrides.
ts-essentials is a comprehensive toolkit of utility types and libraries for TypeScript, providing advanced primitives for recursive structural transformations, runtime assertions, and type guards. It serves as a utility library for performing complex type-level programming to ensure stronger type safety and reduce boilerplate. The project distinguishes itself through a specialized set of tools for deep object manipulation, such as recursively applying read-only or optional modifiers across nested hierarchies. It also provides a dedicated set of strict type constraints to ensure data structure
TypeScript-ts-tool modifies object keys or values by changing case, toggling optionality, or flattening types for better readability.
Seneca هو إطار عمل بنية قائمة على الرسائل ومجموعة أدوات للخدمات المصغرة لـ Node.js. يعمل كمنسق مهام موزع وموجه رسائل قائم على الأنماط، مما يسمح للمطورين ببناء أنظمة من الخدمات المنفصلة التي تتواصل عبر ناقل رسائل. يتميز إطار العمل بنظام إضافات معياري ينظم منطق العمل في وحدات قابلة لإعادة الاستخدام وقابلة للتكوين. ويدعم امتدادات الإجراءات الديناميكية، مما يتيح للمعالجات الجديدة تغليف أو تجاوز أنماط الإجراءات الحالية لحقن منطق مخصص دون تعديل الكود الأصلي. يغطي النظام مجموعة واسعة من القدرات بما في ذلك اتصالات الخدمة الموزعة، وتنسيق الإجراءات غير المتزامن، وإدارة بيانات الكيانات. كما يوفر أدوات مراقبة لتتبع أنماط الإجراءات، وتصور السجلات المستند إلى الويب، وأدوات ضمان الجودة لمحاكاة تبعيات الخدمة.
Combines multiple configuration objects into one by recursively overwriting properties from right to left.
Schema-dts is a type-safe library providing TypeScript interfaces for modeling structured data and interconnected graph relationships. It serves as a framework for defining and enforcing strict property requirements for JSON-LD objects, ensuring that metadata generated for web applications and search engines adheres to established vocabulary standards. The project distinguishes itself by providing a comprehensive set of definitions for the Schema.org vocabulary, enabling developers to build complex, machine-readable data graphs with compile-time validation. It supports the composition of mult
Merges multiple concrete data types into a single object definition to support entities that must serve several roles simultaneously within a graph.