npm install add new package code example
Example: install an npm package
npm install package-name
To save as a dependency:
npm install package-name --save
npm install package-name
To save as a dependency:
npm install package-name --save