๐ช๐ต๐ฎ๐ ๐ถ๐ ๐ก๐ผ๐ฑ๐ฒ.๐ท๐?
Node.js lets you run JavaScript on your computer. It works outside the browser. Ryan Dahl created it in 2009. It works on Windows, Linux, and macOS.
Why use Node.js?
- One language. Use JS for both front and back ends.
- High speed. It uses the Chrome V8 engine.
- Huge community. Find help and tools easily.
- npm. Access a million pre-built packages.
- Scales well. It handles many connections at once.
- JSON ready. It works well for APIs.
JavaScript vs Node.js
JavaScript lives in the browser. It makes pages interactive. It sees the DOM.
Node.js lives on the server. It handles data and files. It does not see the DOM.