Skip to content
0:00 / 0:00

#patch-package#npm#nodemodules

patch-package | Fix broken node modules instantly

Ben Awad

491K subscribers • 7 videos on Hallway

YouTube

Beginner. No background in the topic needed.

36K views6 years ago2 recommendations

Tools and practiceBuild systems and packagingDeveloper productivity

Ben Awad explains how to use patch-package to instantly fix bugs in third-party npm packages without waiting for upstream updates.

patch-package is a tool that has saved me a couple of times when I found a bug in an npm package and needed to fix it ASAP. Code: github.com/benawad/patch-package-example Links from video: github.com/ds300/patch-package ​ ​ ---- Follow me online: voidpet.com/benawad #benawad

Why it's here

2 people recommend this

What people say. Recommended as a great tool and guide for modifying and patching nested npm dependencies directly.

u/calicoder2in r/node • Recommends

On “I plan to customize an open-source npm package. Do I just download the Github files, make edits, then import the main file into my project?”

I recommend looking into patch-package. Here’s a recent video explaining its use: link to this video

u/bel9708in r/node • Recommends

On “How do I change the code in nested dependencies at run time?”

link to this video