protips

Logo

This site lists the protips that we shared with students during our courses

View the Project on GitHub appliedtechnology/protips

Save your fingers - lesson 2 - NPM

We are programmers. We type a lot. Let’s save our fingers and make the precious keystrokes we do, count!

There’s quite a lot of shortcuts to be found in the npm command. Here’s a few that I’ve found very useful:

PS Bonus tip, that isn’t really about writing less but could be handy: reinstall and make a new installation by going: rm -rf node_modules && npm i

In other words - remove the node_modules (and it’s subfolders) and then install the packages again.