patch-package
« Back to VersTracker
Description:
Fix broken node modules instantly
Type: Formula  |  Latest Version: 8.0.1@0  |  Tracked Since: Dec 24, 2025
Links: Homepage  |  GitHub  |  formulae.brew.sh
Stars: 11,057  |  Forks: 312  |  Language: TypeScript  |  Category: Developer tools
Tags: nodejs npm patch javascript typescript dependencies
Install: brew install patch-package
About:
patch-package is a tool that allows developers to apply fixes to npm or yarn dependencies by creating and applying patch files. It ensures that patches are automatically applied after every package installation, making it ideal for temporary fixes or custom modifications to third-party libraries. Its main value is enabling quick workarounds for bugs in dependencies without waiting for upstream fixes or maintaining forks.
Key Features:
  • Create patches for npm/yarn packages
  • Automatically apply patches post-install
  • Support for both npm and yarn
  • Simple CLI interface for patch management
  • Version control friendly patch files
Use Cases:
  • Apply a hotfix to a third-party library with a known bug
  • Customize an open-source package to fit specific project requirements
  • Maintain a temporary patch until an official package update is released
Alternatives:
  • npm patch – Native npm command for patching, but less automated and requires manual steps for each install
  • forking the package – More permanent but requires maintaining a separate repository and updates
Version History
Detected Version Rev Change Commit
Dec 24, 2025 9:55pm 8.0.1 0 VERSION_BUMP 9e060c2f
Nov 10, 2024 4:33pm 0 VERSION_BUMP 7a23e12f