# lodash/babel-plugin-lodash

Modular Lodash builds without the hassle.

Repository: https://github.com/lodash/babel-plugin-lodash
Canonical: https://ross.abutalabs.com/products/babel-plugin-lodash
Language: JavaScript
License: NOASSERTION
License Family: other
Topics: lodash, babel
Archived: true
Last push: 2023-06-22T20:08:56+00:00

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

## Adoption (not part of the score)
Stars 1946, forks 95 (observed 2026-08-28T04:05:57.838227+00:00)

## What it is
A Babel plugin that rewrites Lodash imports into cherry-picked per-method module imports, enabling smaller modular Lodash builds. It works with bundlers like webpack (via lodash-webpack-plugin) to reduce bundle size.

## Use cases
- reduce bundle size when importing lodash
- convert full lodash imports to per-method imports automatically
- cherry-pick lodash modules without manual imports
- optimize lodash builds in a webpack/babel pipeline

## When to choose
- you use Babel and import the full lodash package but only need a few methods
- you want smaller bundles without manually importing lodash/foo modules

## When to avoid
- you already import individual lodash methods directly
- you rely on lodash chain sequences, which are unsupported
- your project doesn't use Babel

## Facets
- artifact type: plugin
- maturity: maintenance
- function: build-tool, developer-tools
- domain: developer-tools, web-development, frontend
- platform: -
- tags: babel-plugin, lodash, tree-shaking, bundle-size, javascript, nodejs

## Member repositories
- lodash/babel-plugin-lodash (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:57.838227+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-30T03:07:20.705603+00:00, confidence not recorded.
  - readme: https://github.com/lodash/babel-plugin-lodash (fetched 2026-08-28T04:05:57.838227+00:00, sha 3edd7fc0112e)
  - registry_npm: https://registry.npmjs.org/babel-plugin-lodash (fetched 2026-08-29T10:47:06.749467+00:00, sha a9927487070c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
