Quick Tip: npm CLI Shorthands
If you're like me, you spend a lot of time daily using npm, the official node package manager. Typing
npm install whatever-package --save or
npm install whatever-package --save-dev is very tedious.
I recently discovered there are aliases for
--save can be replaced with
There are a few others in the source link below but I felt those two are the most commonly used. I hope this speeds up your
npm install-ing like it did mine!
Also, you can run
npm i whatever-package instead of
npm install whatever-package.