Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 1.34 KB

read06.md

File metadata and controls

27 lines (16 loc) · 1.34 KB

NODE.JS

NODE.JS is used for JavaScript runtime and it is suited when developing applications that require some form of real-time interaction or collaboration Apps

Version Manager is useful to To revoke any potential permission problems when using Node

npm or node package manager is one of the largest software registry. it can be installed:

  1. globally by npm install -g jshint
  2. locally by npm init -y

Node.js is used for assembling the JavaScript files. it is used as a back end to run (React and Angular) frameworks which are used for developing apps with JavaScript.

For Execution Model Node.js then:

ex

However, the errors should always be handled correctly for fear of crashing the entire process.

To create a server then:

  • start by requiring Node’s native HTTP module.
  • use the createServer method to create a new web server object
  • call anonymous function and pass values for its two arguments request and response .

Node.js is handling JSON files which is consider as the most important data exchange format on the Web. In addition to it can be used to write a command line

Finally Node.js can be interduced as an event-based, non-blocking, asynchronous I/O runtime that uses Google’s V8 JavaScript engine and libuv library