Node.js

> (World Wide) Web - (W3|WWW) > Javascript (Js|ECMAScript) > Node.js

1 - About

Node is a javascript engine that:

  • add several features such as io (access the file system), network,… that are not accessible in a web browser)
  • miss the browser web api function (no dom,…)

In a Node installation, you got:

Node.js is built against v8.

Advertising

3 - Example

To run the below script:

HelloWorld.js
console('Hello World!');
  • At the command line
node HelloWorld.js
Hello World!