How to use fork version of npm package in a project

One fairly clean option is to use patch-package:
https://www.npmjs.com/package/patch-package

If the people using your project might use either npm or yarn, then remeber to make the patch available for both. More info under patch-package --use-yarn.

Patch or fork? See https://www.npmjs.com/package/patch-package#benefits-of-patching-over-forking

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)