nodemon is a tool that helps develop Node.js based applications by automatically restarting the node application when file changes in the directory are detected.

nodemon does not require any additional changes to your code or method of development. nodemon is a replacement wrapper for node. To use nodemon, replace the word node on the command line when executing your script.

You can install nodemon by running npm install -g nodemon inside of your nodejs project. You could also use yarn to install it, but npm is the standard that I know.

You can look here at it’s npm page.