1 Repo
Adds items from another collection that do not already exist in the original collection.
Distinct from Collection Transformations: Distinct from Collection Transformations: specifically adds missing items from another collection, not general filtering or flattening.
Explore 1 awesome GitHub repository matching programming languages & runtimes · Union Operations. 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
Ships a union method that merges collections by adding only absent items.