NPM Commands You Need to Know

I’ve been playing with nodejs on and off for a couple years. Over the last few months I’ve dedicated substantial time to really focusing on the software and shocked at how easy NPM is and how amazingly powerful it’s reach is.

Here are a few useful NPM tips if you are starting out with nodejs:

1. npm init <- builds the package.json file for you. 2. npm install --save <- Save the NPM dependency directly from command line. 3. npm start <- run the package 4. Adding scripts to npm start is a wonderful world where dreams do come true. I am a part of all that I have met. - Alfred Tennyson, The Complete Poetical Works of Tennyson

Leave a Reply

Your email address will not be published. Required fields are marked *