Nodejs is an open-source, server-side, running environment.
- Cross platform
- Uses JS as language
Web developement framework for nodejs.
Node Package Manager.
- Easy update and version management.
- npm init => make package.json
- npm install <package-name> –save => saves the package to package.json
When saving a package to package.json there can be these string formats:
“^4.x.x” [Any release 4 major or minor version]
“~4.13.x” [Any minor version of 4.13]
“4.13.2” [Exact version]
- in package.json, in scripts object write “start”: “node index.js”, in console write npm start. The start object would get run.