Getting Started with NodeJS

  • NodeJS has an event-driven architecture which is capable of doing I/O operations asynchronously. This makes NodeJS lightweight and efficient.
  • NodeJS does not create a thread for each connection. It handles all of them in a single thread. Its’ non-blocking I/O helps it to achieve that.
  • NodeJS uses Chrome’s V8 engine. The V8 engine compiles JavaScript code into machine code directly.
  • NodeJS represents a “JavaScript everywhere” paradigm. That means it allows developers to use a single programming language from one end of the applications to the other end.
  • ‘npm’ package manager gives access to large number of open source libraries
  • Since NodeJS is open-source, developers can edit the source code for their liking.
  • I/O bound applications
  • Fast scalable network applications
  • Real-time applications
  • JSON APIs based applications
  • Single page applications

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store