Search posts, tags, users, and pages
Edrick Leong
When setting up a project, npm is usually the package manager most people use because it is the default. You can also use npm to set up a monorepo by using npm workspaces. However, I do not recommend using npm workspaces for managing multiple package...
Tirtha Guha
Web technologies enthusiast
Npm has system level cache, ~/npm on posix and %LocalAppData%/npm-cache on Windows.
~/npm
%LocalAppData%/npm-cache
If a dependency+version matches, npm pulls the package from this cache, instead of over the internet.
Thanks Tirtha for pointing this out!
I've removed the third point about npm being slow due to not having a global cache.
Tirtha Guha
Web technologies enthusiast
Npm has system level cache,
~/npmon posix and%LocalAppData%/npm-cacheon Windows.If a dependency+version matches, npm pulls the package from this cache, instead of over the internet.