What difference does it make when installing a module via NPM, using the --save?
When using npm install nomedom module, it installs and writes the modules in the project folder.
I did not understand then when to use npm install nomedomodulo --save
Someone to help me?
______ azszpr166468 ___
The %code% saves the package in the %code% file, which serves as a reference for your project. Soon when you use the command %code% all modules that were installed with %code% will be installed without the need to set them one by one.
Referring to npm install documentation :
-S , - save : Package will appear in dependencies.
___