Node.js
Node.js is a cross-platform, open-source JavaScript runtime environment that allows developers to execute JavaScript code outside of a web browser. It can run on various operating systems, including Windows, Linux, Unix, and macOS.
Key characteristics and uses of Node.js:
- JavaScript Everywhere: It enables the use of JavaScript for both client-side and server-side scripting, promoting a “JavaScript everywhere” paradigm.
- V8 JavaScript Engine: Node.js runs on the V8 JavaScript engine, which is also used in Google Chrome.
- Event-Driven and Non-Blocking I/O: It processes requests in an event loop, using non-blocking I/O calls. This allows it to handle many concurrent connections efficiently without the overhead of thread context switching.
- Scalable Network Applications: Node.js is designed for building scalable network applications, including web servers and networking tools.
- Modules: It provides a collection of modules for various core functionalities like file system I/O, networking (HTTP, TCP, TLS/SSL), and binary data.
- Command Line Tools: Developers can use Node.js to write command-line tools.
Web Site
Tools
- npm (Node Package Manager)
- Yarn (package manager)
- Express.js (web framework)
- Visual Studio Code
Related articles:
The article describe how install portable version of npm.