# ecrmnn/collect.js

💎  Convenient and dependency free wrapper for working with arrays and objects

Repository: https://github.com/ecrmnn/collect.js
Canonical: https://ross.abutalabs.com/products/collectjs
Homepage: https://collect.js.org
Language: JavaScript
License: MIT
License Family: permissive
Topics: collection, laravel, nested-objects, nested-arrays, laravel-collections
Last push: 2024-10-22T18:24:04+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3643, "days_push": 680, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6556, forks 304 (observed 2026-08-28T04:09:45.176517+00:00)

## What it is
A dependency-free JavaScript library providing a fluent, Laravel Collections-style API for working with arrays and nested objects. It offers 100+ chainable methods like map, filter, groupBy, sortBy, and where for convenient data manipulation.

## Use cases
- manipulate arrays and objects with a fluent chainable api
- use laravel collections style methods in javascript
- group, sort, and filter nested  data
- replace lodash with a zero-dependency collection library
- pluck and transform data from api responses
- extend collection behavior with custom macros

## When to choose
- you want Laravel Collections semantics in JavaScript or Node.js
- you need a lightweight, dependency-free data manipulation utility
- you frequently transform, group, or filter nested arrays and objects

## When to avoid
- you need maximum performance on very large datasets where raw loops are faster
- you prefer native ES6+ array methods and minimal abstractions
- you need reactive or observable collections

## Facets
- artifact type: library
- maturity: stable
- function: developer-tools, data-science
- domain: developer-tools, web-development
- platform: browser, cross-platform
- tags: collections, arrays, objects, laravel-collections, zero-dependencies, javascript, nodejs

## Member repositories
- ecrmnn/collect.js (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:45.176517+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:44:04.094436+00:00, confidence not recorded.
  - readme: https://github.com/ecrmnn/collect.js (fetched 2026-08-28T04:09:45.176517+00:00, sha 607a5e0a0d91)
  - homepage: https://collect.js.org (fetched 2026-08-29T08:40:33.760715+00:00, sha 35720bb79930)
  - site_page: https://collect.js.org/installation (fetched 2026-08-29T08:40:33.769613+00:00, sha a90f20933a31)
- Data as of 2026-08-30T08:39:29.467469+00:00.
