Dorokhov.codes

08. Platform: server

Node and NPM

Website: https://nodejs.org

Node gives JavaScript access to the entire operating system, allowing JavaScript programs to read and write files, send and receive data over the network, and make and serve HTTP requests.

Installation

Install the Node.js:

sudo apt install nodejs

Install the Node.js package manager:

sudo apt install npm

NPM

Create a package.json:

npm init

npm init is a setup “wizard” for creating package.json files.

API

Output:

console.log("Hello");