I've been a professional C, Perl, PHP and Python developer.
I'm an ex-sysadmin from the late 20th century.
These days I do more Javascript and CSS and whatnot, and promote UX and accessibility.
If you really want to save space, you could always run the npx command without the install first... or maybe find . -type d -name node_modules | xargs du -sh
If you really want to save space, you could always run the
npx
command without the install first... or maybefind . -type d -name node_modules | xargs du -sh
I was wonder why you would use npx after globally installing it. Using the npx command by itself seems a much better practice.
That's indeed correct, this will save you an extra 1.9MB of space.
Not a life changer as the many GB you will free a few seconds later, but still a valid suggestion. Thank you for sharing! :)