Node.js Introduction
Node.js runs JavaScript on your computer or server using the V8 engine from Chrome. It is used for web servers, APIs, command line tools and build tools. It is event driven and non blocking, so one process can handle many connections.
Example
console.log("Hello from Node.js!");
console.log(typeof process.version);Result
Hello from Node.js! string
- Run a file with: node app.js
Exercise
Print to the terminal.
.log("Hi");Quiz Test
These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.