NPM install configurations
- Install package without updating
package.json
npm install <package name> --no-save- Install package and update
dependenciesinpackage.json(default)
npm install <package name> --save- Install package and update
devDependenciesinpackage.json
npm install <package name> --save-dev- Install package and update
optionalDependenciesinpackage.json
npm install <package name> --save-optionalNote
Dev dependencies are packages needed by the project in the dev environment and not in the production environment