24 Repos
Creating integer-indexed collections using shorthand syntax or percent notation.
Distinct from Ordered Data Structures: Distinct from ordered data structures: focuses on the literal syntax for collection definition.
Explore 24 awesome GitHub repositories matching data & databases · Ordered Collection Literals. Refine with filters or upvote what's useful.
Lodash is a JavaScript utility library and data manipulation toolkit. It provides a collection of modular functions for transforming, filtering, and validating arrays, objects, strings, and numbers. The project functions as a functional programming toolkit, offering capabilities for function composition, currying, and lazy evaluation. It includes mechanisms for execution control, such as debouncing and throttling, to manage the timing and frequency of function invocations. The library covers a broad surface of data operations, including deep cloning and merging of complex nested structures,
Provides deep and shallow operations to clone, merge, pick, omit, or update properties within objects.
Immutable.js is a library of persistent data structures and a functional state management toolkit. It provides a collection of immutable objects and arrays that prevent direct mutation to ensure predictable state management in JavaScript applications. The library utilizes structural sharing to efficiently create new versions of data without full copying and implements lazy sequence processing to chain data transformations that execute only when values are requested. It also supports batch mutation processing, allowing multiple changes to be applied to a temporary mutable copy before returning
Provides object transformation utilities to export immutable collections back into plain JavaScript objects or arrays.
Underscore is a JavaScript utility library providing a suite of functional programming and data manipulation helpers. It serves as a framework for transforming data collections, composing functions, managing objects, and performing precise data type validation without modifying core language prototypes. The project includes a functional programming toolkit designed to control function execution timing and behavior through techniques such as debouncing, throttling, and partial application. It also provides a dedicated object manipulation utility for cloning, merging, picking, and omitting prop
Provides utilities for cloning, merging, picking, and omitting properties from JavaScript objects.
Ramda is a functional JavaScript standard library and toolset for immutable data transformation and composition. It provides a comprehensive suite of pure utility functions designed to enable declarative data processing pipelines. The library is distinguished by its use of automatic function currying and a data-last argument order. These design patterns allow multi-argument functions to be partially applied, simplifying the construction of processing chains where data is passed through a sequence of operations. The toolkit covers broad data manipulation capabilities, including list processin
Locates specific objects within lists using unique identifiers.
Crystal is a statically typed, compiled programming language designed for high performance and memory safety. It leverages an LLVM-based compiler to translate source code into optimized machine-executable binaries, while its type-inference-based static analysis enforces strict safety rules during the build process. The language distinguishes itself through a fiber-based concurrent runtime that manages lightweight execution units for asynchronous input and output without blocking the main process. It also features a powerful compile-time macro system that allows for the inspection and transfor
Generates integer-indexed collections using shorthand percent notation.
type-fest is a library of reusable utility types for performing complex transformations and validations on objects, arrays, strings, and numeric ranges in TypeScript. It provides a collection of type definitions designed to handle advanced structural changes and constraints. The project distinguishes itself by offering specialized logic for string literal processing, such as casing transformations and pattern-based modifications, and type-level arithmetic for calculating numeric ranges and absolute values. It also includes utilities for enforcing deep immutability, ensuring union mutual exclu
Provides deep and shallow object transformation types for merging and omitting properties.
Grav is a flat-file content management system that eliminates the need for a traditional database by storing site content and configuration in human-readable Markdown and YAML files. Built as a modular PHP web framework, it uses a hierarchical page routing system where the physical directory structure directly determines the site's URL paths. The platform is distinguished by its event-driven plugin architecture and a command-line interface that prioritizes system administration, deployment, and maintenance tasks. It utilizes a blueprint-driven system to generate administrative forms from stru
Provides a suite of methods to filter, sort, and transform ordered collections of objects for rendering.
This project is a public community data API that provides a RESTful interface for accessing real-time discussions and metadata. It serves as a JSON data provider, offering structured community information for use in third-party client and server applications. The interface enables the retrieval of public items, stories, and comments, as well as public account information for specific users. It provides capabilities for fetching filtered lists of stories based on ranking or novelty and allows for the discovery of recent items to track new content updates. The system covers a broad range of da
Implements retrieval of specific stories, comments, or users using unique alphanumeric keys.
Clojure is a general-purpose, functional programming language hosted on the Java Virtual Machine. It is a homoiconic S-expression language that represents programs as nested data structures, allowing code to be manipulated and evaluated as data. The project provides a framework for JVM interoperability, enabling the invocation of Java methods and integration with other JVM-based languages. It distinguishes itself through a persistent data structure library that uses bitmapped vector tries to manage immutable collections and a programmatic REPL for interactive software development and real-tim
Converts complex objects into data structures to enable easier navigation using a data-centric facility.
Falcor is a JavaScript library that models remote data as a single virtual JSON graph, providing a path-based query engine for efficient client-side data retrieval and updates. It represents multiple remote data sources as a unified document where entities are accessed via globally unique identity paths. The system distinguishes itself by treating the remote data model as a virtual JSON resource, allowing the client to query specific paths without managing individual endpoints. It uses a reference-aware graph model to handle many-to-many relationships and prevents data duplication. Network ef
Creates a new model bound to a specific object by its identity to target entities correctly.
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.
Allows for cloning, picking, and omitting properties within objects using custom matching criteria.
Metalsmith is a Node.js static site generator and static content processor that transforms source files into websites, eBooks, or technical documentation. It functions as a file-to-object transformer, converting directory trees into plain JavaScript objects that can be programmatically manipulated in memory. The project is built around a pluggable build pipeline where files are passed through a sequence of custom functions to transform content and metadata incrementally. This architecture allows users to extend functionality by writing their own plugins or using third-party modules to define
Converts source directories into JavaScript objects to allow plugins to manipulate the site structure programmatically.
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.
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.
Object-enumerator is a data structure crawler and enumeration library designed to discover and list all objects stored within deep or circular data references. It functions as a traversal tool that recursively walks through nested arrays and object graphs to identify every individual referenced object. The library flattens complex hierarchical data structures into a linear collection of unique objects. This process enables data structure analysis and memory reference mapping by tracing all objects connected to a root element to understand the overall composition of a data set.
Provides utilities to navigate and enumerate every individual object referenced within a complex data set.
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.
Dieses Projekt bietet eine umfassende Reihe standardisierter Entwurfsmuster, Namenskonventionen und Umgebungskonfigurationen für die Objective-C-Entwicklung. Es etabliert ein konsistentes Framework für API-Design, Speicherverwaltung und Projektorganisation, um sicherzustellen, dass Codebasen über Teams hinweg lesbar und wartbar bleiben. Der Leitfaden definiert spezifische Standards für Namespace-Isolierung mittels Klassenpräfixen und ein strukturiertes System zur Benennung von Assets. Er skizziert Architekturmuster für Delegate-Protokolle und Fehlerbehandlungsmechanismen, die darauf abzielen, Typsicherheit und Klarheit zu verbessern. Die Abdeckung erstreckt sich auf Quellcode-Formatierung, Organisation der Klassenstruktur und die Implementierung thread-sicherer Singletons. Er enthält zudem Standards für die Xcode-Projektkonfiguration, die physische Dateihierarchien mit Projektgruppen abgleichen und Build-Einstellungen verwalten.
Encourages the use of shorthand literal syntax for strings and collections to replace verbose constructor calls.
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
Provides instance-aware converters that receive the current instance during conversion.
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.
Dies ist eine TypeScript-Utility-Typ-Bibliothek, die fortgeschrittene Typ-Aliase und Mapped Types für komplexe Objekt- und Union-Transformationen bereitstellt. Sie implementiert spezialisierte Tools für die Erstellung gebrandeter nominaler Typen, das Extrahieren von Typ-Metadaten und die Durchführung von Mengenoperationen auf Union-Typen. Das Projekt zeichnet sich durch ein Toolkit für rekursive Objekttransformationen aus, das die Anwendung von Eigenschaftseinschränkungen wie Read-only- oder Optional-Status über tief verschachtelte Strukturen hinweg ermöglicht. Zudem bietet es ein System zur Berechnung von Schnittmengen, Differenzen und Komplementen zwischen Union-Typen, um mathematische Mengenlogik zu simulieren. Die Bibliothek deckt ein breites Spektrum an Typsystem-Funktionen ab, einschließlich Objekt-Eigenschaftsfilterung, Formvergleich sowie die Extraktion von Klassenkonstruktoren und Promise-Auflösungstypen. Sie enthält zusätzlich Dienstprogramme für die Wertvalidierung, wie z. B. das Erkennen von falsy oder nullish Werten und die Identifizierung primitiver Typen.
Enables recursive modification of properties in deep object structures to change mutability or requirement status.