npm –save or –save-dev. Which one to use?

Introduction If you have ever worked in NodeJs, you must have install one or two packages through “npm install <package>” command.  By running this command, the nodeJs will install this package on your working directory, under node_modules. To save this packages as your dependencies, under package.json, you have two choices: –save-dev –save …

Nodejs tools

nodemon: By default node process needs to be restarted for picking any change in your JS file. Thus, every time there is a change, you will need to stop node process and start it again. You can automate this task by using nodemon npm package. This package will monitor any changes and it restart …