Social Icons

npmA collection of 4 posts

npm is for JavaScript and TypeScript developers who want to reuse, share, and manage code efficiently. It solves the problem of dependency management by making it easy to install, version, and update libraries across projects. You will find guidance here on working with packages, publishing modules, and integrating npm into modern development workflows.

1 min read

Npm same scope from multiple registries

I recently found out that npm doesn't support downloading same scope dependencies from multiple registries. Ideally, I'd like to define multiple registries for a scope. If npm fails to find the package...

1 min read

Install global npm packages without sudo

This is my little cheatsheet for fixing the classic: Error: EACCES: permission denied, mkdir when installing an npm package without sudo. Installing it globally with sudo npm i -g looks off to me. Why this happens...