Node.js is an open-source, cross-platform JavaScript run-time environment that executes JavaScript code outside of a browser. Node.js lets developers use JavaScript to write command line tools and for server-side scripting—running scripts server-side to produce dynamic web page content before the page is sent to the user’s web browser. Consequently, Node.js represents a “JavaScript everywhere” paradigm, unifying web application development around a single programming language, rather than different languages for server side and client side scripts.
Why use Node.js ?
- If you are ready to create real-time web apps, Node will be the finest technology.
- Being an open source technology, Node.js has shared repository of good-to-go modules.
- Node.js web applications are ideal for data-heavy websites and apps.
- Capable of handling traffic.
- It provides better performance, since Node.js I/O operations are non-blocking.
- Written code is compatible on many platforms.
- Node.js business applications are relatively inexpensive to host, especially when compared to similar apps.
- Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient.