News for hackers. Stuff that matters.
Re:Deno 1.28: Featuring 1.3M New Modules by franciscop on Monday November 14, 2022 @09:20AM (#33594241)
Package managers end goal was the user to use the package, so it was good that they were installed globally. npm goals, as a tool for devs, includes having projects self-contained and not interfere with each other, which is pretty different goal and thus having a local node_modules has multiple advantages instead of installing everything globally. Kinda how docker or virtual machines work, but just for packages.
Re:Deno 1.28: Featuring 1.3M New Modules by jonny_eh on Monday November 14, 2022 @12:18PM (#33597410)
I was under the impression that Node (and the node_modules folder) predated NPM. So NPM was just going along with the concepts laid down by Node.