patch-package
Make and preserve fixes to npm dependencies.
Pricing
See website
Flat rate
Adoption
→StableLicense
Open Source
Data freshness
—Overview
What is patch-package?
Patch-package is a tool that allows developers to make changes to their npm dependencies and keep those changes when the dependency updates. This ensures that custom modifications are not lost during package upgrades, streamlining maintenance in complex projects.
Key differentiator
“Patch-package uniquely addresses the challenge of maintaining custom changes in npm dependencies by automatically generating and applying patches during updates, ensuring that modifications persist without manual intervention.”
Capability profile
Strength Radar
Honest assessment
Strengths & Weaknesses
↑ Strengths
Fit analysis
Who is it for?
✓ Best for
Developers who need to maintain custom changes to npm packages without losing them on updates.
Projects with heavily customized third-party libraries that require continuous maintenance.
✕ Not a fit for
Scenarios where dependencies are not frequently updated and do not require customization.
Teams preferring a more isolated approach to dependency management, avoiding external patches.
Cost structure
Pricing
Free Tier
None
Starts at
See website
Model
Flat rate
Enterprise
None
Performance benchmarks
How Fast Is It?
Next step
Get Started with patch-package
Step-by-step setup guide with code examples and common gotchas.