What is Node JS

Node JS is a JavaScript runtime build on Chrome’s V8 JavaScript engine

  • Java Script is a language which runs on web browser.
  • Web Browsers uses Java Script Engines implemented inside it to run the Java Script.
  • One of the JavaScript engine is V8 which is implemented inside Chromebrowser.
  • Node JS uses the same V8 engine but instead of running it on web browser it run it on the operating system itself.
  • Just like WebBrowser gives JavaScript access to the web page DOM, Node JS gives access to the operating system’s file system, processes, memory, I/O, network

Node JS

  • A platform which allows us to run JavaScript on a computer/server
  • Read, update and delete files.
  • Easily communicate with database.

Why Node JS is popular ?

  • Uses JavaScript
  • Very fast (runs on v8 engine and uses non-blocking code)
  • Huge ecosystem of open source package (npm)
  • Great for realtime service. (like chat)

Leave a Comment