1 个仓库
Maps each item through a callback and flattens the result into a single-level collection.
Distinct from Collection Transformations: Distinct from Collection Transformations: specifically combines mapping with flattening into a single operation, not general filtering or deriving sets.
Explore 1 awesome GitHub repository matching programming languages & runtimes · Flat Sequence Mappers. Refine with filters or upvote what's useful.
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.