package.json install dependecies within dependency code example
Example 1: how to install dependencies from package.json
npm install // installs dependencies listed in package.json
Example 2: add dependencies to package.json
npm install <package-name> --save # Installs the package and add dependency in package.json
npm install # Installs dependencies listed in package.json