use package.json to install dependencies code example
Example 1: how to install dependencies from package.json
npm install // installs dependencies listed in package.json
Example 2: what are dependencies in package.json
dependencies are the modules that the project relies on to function properly.