Hacker News new | ask | show | jobs
by brundolf 1697 days ago
Technically you could pin directly to a git commit instead of an NPM release
2 comments

Although npm supports lifecycle methods that run before publish / on install, many packages fail to use those correctly (or at all) yet still require a build step, so using the GH repo directly very often does not work.
This is the right answer. Everyone else replying is patently wrong.