Hacker News new | ask | show | jobs
by ggg3 2484 days ago
very good point.

i think the solution to this problem (module or not) will be the same solution to the shared lib problem.

npm is a dumpster fire, but the larger projects are usually fine (the /bin equivalent). the worst problem is that every large project pull in different versions of whatever libs they wanted to use (which the singleton util lib proposed in the article would solve)