Difference between revisions of "Node JS - Starting a new project"
From Logic Wiki
| Line 1: | Line 1: | ||
[[Category:Node.js]] | [[Category:Node.js]] | ||
| − | npm init | + | npm init --yes |
== installing NodeMon == | == installing NodeMon == | ||
npm i -g nodemon | npm i -g nodemon | ||
install this package to avoid stop - start application on every change | install this package to avoid stop - start application on every change | ||
and instead of node start application with nodemon | and instead of node start application with nodemon | ||
Revision as of 18:46, 4 June 2020
npm init --yes
installing NodeMon
npm i -g nodemon
install this package to avoid stop - start application on every change and instead of node start application with nodemon