reading-notes

WHAT IS NODE.JS ?

Node. js is a platform built on Chrome’s JavaScript runtime for easily building fast and scalable network applications. Node. js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices. img

CHROME V8

it executes JavaScript code. V8 translates JavaScript code directly into machine code* so that computers can actually understand

What does it mean that node is a JavaScript runtime?

A runtime environment is where our program will be executed.

NPM stands for NODE PROGRAMM MANAGER

NPM is a node package manager. It is basically used for managing dependencies of various server side dependencies. We can manages our server side dependencies manually as well but once our project’s dependencies grow it becomes difficult to install and manage. my machine version of npm is : 6.14.11

What command would you type to install a library/package called ‘jshint’?

You can install jshint locally with

What is node used for?

Aside from being effective at what it does, Node.js is popular because it has a huge, active, open-source, JavaScript-based ecosystem. Also, it doesn’t tend to break compatibility between versions in major ways.

pair programming

How does pair programming work?

The Driver, writes code and the Observer or Navigator, reviews each line of code as it is typed in. The two programmers switch roles frequently.