# Lodash: 6.0 out of 10

Reasonable, with limits. 4th of 8 in [Utility libraries](https://elestia.ai/opensource/utilities/index.md).

Lodash is the classic JavaScript utility library: mature, dependency-free, MIT-licensed, and now governed under the OpenJS Foundation. It is still safe to keep where it already runs. For a new project, though, es-toolkit or native ES features do most of the same job with built-in types and smaller bundles, and Lodash's share of new choices is falling.

**Best for:** Existing codebases that already rely on Lodash's exact behaviour and want a stable, feature-complete API with no dependencies.

## Scores

- **Overall: 6.0** (likely 5.0 to 7.1)
  - Claude Opus 5.5 (5.0): Lodash is reliable and well known, and its new foundation governance makes it a safe dependency to keep. For new projects, es-toolkit offers the same API with built-in types, ESM, smaller bundles and active development, and native JS covers much of the rest. Lodash is a reasonable choice with real limits, not the one to start with today.
  - GPT-6.2 Sol (7.0): Lodash is a strong pick when exact Lodash behavior, broad CommonJS compatibility, or its full helper set matters. For most new TypeScript projects, es-toolkit offers a closer fit with bundled types and smaller imports, while Remeda is a better fit for typed pipelines. Renewed security maintenance supports continued use, but the sparse release cadence and below-baseline growth lower its standing for new work.
- **Needed by many: 6.8** (likely 5.7 to 7.8)
  - Claude Opus 5.5 (7.0): Helper functions for arrays, objects and strings are useful in most JavaScript projects, on any runtime or framework. Native ES features such as Object.groupBy and structuredClone now cover part of the job, which shrinks the need somewhat.
  - GPT-6.2 Sol (6.5): Data transformation is common in browser apps, Node.js services, and scripts, so Lodash serves a large group. Built-ins such as Object.groupBy and array methods now cover many routine tasks. The share that benefits from a full utility library depends on runtime support and how much data manipulation the project does.
- **Helps a lot: 6.9** (likely 5.9 to 7.9)
  - Claude Opus 5.5 (6.0): The API is very complete and its behaviour is correct and well documented. Its types come from the community package @types/lodash rather than the library itself, the main package is CommonJS-only, and bundle size and speed trail es-toolkit. The design is now dated but still works.
  - GPT-6.2 Sol (7.8): Version 4.18.1 has a broad API with documented edge cases and examples that give developers and coding agents a clear reference. The main package uses CommonJS and relies on separate TypeScript declarations, while es-toolkit and Remeda bundle their types and tree-shake more readily. In one Bun browser-build test, five helpers imported from the package root took about 26 KB gzipped, versus about 1.8 KB for es-toolkit. Runtime performance varies by helper and workload, and coding-agent accuracy is unmeasured.
- **Holds up over time: 5.8** (likely 4.6 to 7.4)
  - Claude Opus 5.5 (5.0): Lodash moved from a single maintainer to an OpenJS Technical Steering Committee, and the Sovereign Tech Agency funds security and governance work. That lowers the risk of abandonment. However, the project calls itself feature-complete, it had only 29 commits and 2 releases in the last year, the Scorecard Maintained check is 3, and the ecosystem is moving towards es-toolkit and native features.
  - GPT-6.2 Sol (6.5): OpenJS set up a steering committee and restored security triage and CI with a Sovereign Tech Agency grant that has since ended. Lodash logged 29 commits and three npm versions in the past year, with the latest in April and 71 pull requests open at the snapshot. The team fixed the 4.18.0 packaging regression the next day, but one documented npm releaser and a much slower pace than es-toolkit or Remeda leave the two-year outlook uncertain. The roadmap emphasizes maintenance and migration to native JavaScript.
- **Used widely: 8.3** (likely 7.2 to 9.3)
  - Claude Opus 5.5 (8.0): Its absolute use is enormous: 821M downloads in 4 weeks and about 1.9M dependent repositories, far ahead of every peer. Its download ratio is 2.6x, below the 4.1x median, while es-toolkit grew about 15x. Lodash is therefore losing ground, and much of its volume comes from transitive installs.
  - GPT-6.2 Sol (8.5): Lodash leads the peer set in observed use, with about 1.94 million dependent repositories and 159,000 dependent packages. Four-week downloads rose from 316 million to 821 million, or 2.6×, below the 4.1× catalog baseline and well below es-toolkit and Remeda at roughly 15× and 16×. Automated and transitive installs inflate downloads, while stars and Bluesky posts cover the shared Lodash and lodash-es repository. The counts show a large installed base, with considerable uncertainty about how many new projects choose it.
- **Vouched for: 7.4** (likely 6.3 to 8.5)
  - Claude Opus 5.5 (7.0): Lodash has run in production across a vast share of the npm ecosystem for over a decade, and the OpenJS Foundation and Sovereign Tech Agency back it today. Current independent write-ups, however, mostly recommend migrating away from it rather than endorsing it for new code.
  - GPT-6.2 Sol (7.8): Grafana and n8n core both declare Lodash as a runtime dependency, and Sovereign Tech Agency funded its maintenance. Developers report relying on its nested object helpers and flag slower deep cloning in some workloads. The benchmark covers one setup, and State of JavaScript measures regular use without a Lodash satisfaction or retention rating.
- **Safe: 6.5** (likely 5.4 to 7.6)
  - Claude Opus 5.5 (6.0): It has zero dependencies and an MIT licence. Fixes for recent advisories shipped the same day they were published. Still, there were three advisories in 24 months (one high-severity code injection in _.template), and the 4.18.0 fix was deprecated after breaking behaviour. The Scorecard is 6.6, with weak Token-Permissions, Pinned-Dependencies and Maintained checks.
  - GPT-6.2 Sol (7.0): Lodash 4.18.1 has zero runtime dependencies, an MIT license, and fixes for all three 2026 advisories. Patches were available around public disclosure, although the January prototype-pollution fix needed a follow-up. The 6.6 Scorecard flags weak workflow token permissions and incomplete dependency pinning. The GitHub release tag is signed, while npm publishing still rests with one documented releaser.

## Good

- A huge, battle-tested API, from deep clone and isEqual to debounce, get/set and collection helpers, whose edge-case behaviour is well known.
- No runtime dependencies, an MIT licence, and governance now shared under the OpenJS Foundation with Sovereign Tech Agency support.
- AI coding agents and most developers already know its API, so generated code is usually correct.
- Security reports get triaged and fixed by a named team, which publishes an incident response plan and threat model.

## Bad

- It ships no TypeScript types of its own, so you need @types/lodash, and the main package is CommonJS-only and tree-shakes poorly (lodash-es is a separate package).
- Development is mostly frozen, with 29 commits in the last year. The modernised next major version has no date.
- It had three advisories in 24 months, including a high-severity code injection in _.template, and the 4.18.0 fix release was deprecated after it broke behaviour.
- es-toolkit offers a Lodash-compatible API with built-in types, smaller bundles and much faster growth.

## The numbers

- Downloads, 4 weeks: 821M
- In a year: ×2.6
- GitHub stars: 61k
- Commits, 12 months: 29
- Last npm release: Apr 2026
- Advisories, 24 months: 3
- Licence: MIT
- GitHub: https://github.com/lodash/lodash
- npm: https://www.npmjs.com/package/lodash

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 22 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
