reading-notes

What is Node and When Should I Use It?

What is it?

Simply put: Event-based,non-blocking,asynchronous I/O runtime using google v8 JS engine + libuv library

Installation

Installation of multiple versions to switch back and forth

how to install multiple version using nvm

Node.js support for modern JS

Since only one time is target for V8 engine you can write JS with the most current syntax and shouldn’t have to worry about compatibility issues.

npm-the JS package manager

To check:

To install:

Run linting on file:

installing packages **locally to project instead of globally**

working with package.json file

What is Node.js used for?

how?

refer to site for visual of Node.js event loop

video about event loop

ex:

Most suitable uses for node.js

Its advantages