ds300/patch-package
Fix broken node modules instantly 🏃🏽♀️💨 observed · 2026-08-28
Health v2 · maintenance only
43/100
- Activity 44
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3404
- days_rel: n/a
- days_push: 337
- n_releases_24m: 0
Adoption not part of the score
11219 stars · 325 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
patch-package is an npm/yarn tool that lets developers instantly create and persist fixes to node_modules dependencies as .patch files. Patches are automatically reapplied via a postinstall hook so fixes survive dependency installs and can be shared with a team.
Use cases
- fix a bug in an npm dependency without waiting for an upstream PR
- keep local patches to node_modules applied after every install
- share dependency fixes with a team via committed patch files
- work around a broken release of a package instantly
- patch dependencies in CI or Docker builds reproducibly
When to choose
- you use npm (>=5) or yarn v1 and need to modify a dependency's source
- upstream fixes are slow to land and you need an immediate workaround
- you want dependency fixes versioned in git alongside your app
When to avoid
- you use yarn 2+ or pnpm, which have native `patch` commands
- you maintain a library to be published rather than an application
- the fix is large enough that a fork is more maintainable
Facets
cli-tool · maturity stable
package-manager developer-tools build-tool developer-tools web-development cli cross-platform npm yarn node-modules patching postinstall dependencies command-line nodejs
2 sources
- readme: https://github.com/ds300/patch-package · fetched 2026-08-28 · 3734a74721b1
- registry_npm: https://registry.npmjs.org/patch-package · fetched 2026-08-29 · 009c78f84dcc
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ds300/patch-package | main | 43 |
For agents
markdown · JSON · MCP: product_card(name="ds300/patch-package")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem