NPM Node JS Quick Overview - madhusudana30/Spring-Boot-Angular GitHub Wiki
NPM Important Steps
- Node Js is runtime environment to run Javascript outside Browser and also cross platform support.
- Install node js
- Create npm project using following command npm init. It creates package.json where it specifies name of the project and other details.
- Add dependencies to npm project using npm install (jquery) command. It download dependencies and transitive dependencies to the same location of the project and Also, adds dependency version to Package.json file under dependencies section.
- ^ the symbol in version represents any minor can be changed in package json.
- Ship only package json to other developer then npm install command installs all dependencies.