2 个仓库
Utilities for filtering, flattening, and deriving new sets of values from collections of types.
Distinct from Union Type Transformations: Distinct from general Union Type Transformations by specifically addressing the filtering and flattening of type collections.
Explore 2 awesome GitHub repositories matching programming languages & runtimes · Collection Transformations. Refine with filters or upvote what's useful.
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.
Provides utilities for filtering, excluding, and flattening collections of types to derive new sets of permissible values.
collect.js is a dependency-free JavaScript library that provides a fluent, chainable interface for manipulating arrays and objects. It mirrors the Laravel Collection API, offering a consistent set of methods for data transformation across JavaScript and Laravel backend environments. The library stores collection data as plain arrays internally and supports fluent method chaining, where each method returns a new collection instance. The library distinguishes itself by closely replicating the Laravel Collection API in JavaScript, mapping each PHP method to an equivalent JavaScript implementatio
Provides a flatMap operation that maps and flattens nested arrays into a single sequence.