Skip to content

Ritesh009/NODE

Repository files navigation

NODE

This repository for those who want to learn the basic node implementation. Node JS runtime is built on Chromo V8 JS engine. Uses an event driven, non-blocking, I/O model which makes lightweight and efficient. Use the NodeJS official website for the installation of NodeJS in your system. For reference NodeJS.

sudo apt-get install nodejs

NODE PACKAGE MANAGER (NPM)

Manages the Node ecosystem which contains the package.json and JS files. For reference NPM

sudo apt-get install nodejs npm

NPM contains use the concept of common JS API which allows API's defining common application needs, it defines a module format, Node follows the common JS module specification. Each file in node is it's own module. The module variable gives access to the current module definition in a file For node initization,type the below in the terminal/command line

npm init