Aim: Introduction and Installation of Node - Js
Aim: Introduction and Installation of Node - Js
Utility Used for any client-side activity for a Used for accessing or
web application performing any non-
blocking operation of any
operating system
3. What is Node.js?
Node.js is a powerful framework developed on Chrome’s V8 JavaScript engine that
compiles the JavaScript directly into the native machine code.
It is a lightweight framework used for creating server-side web applications and
extends JavaScript API to offer usual server-side functionalities.
It is generally used for large-scale application development, especially for video
streaming sites, single page application, and other web applications.
1
Features Description
Fast Node.js is built on Google Chrome's V8 JavaScript Engine which
makes its library very fast in code execution
Asynchronou Node.js based server never waits for an API to return data thus making
s it Asynchronous
Scalable It is highly scalable because of its event mechanism which helps the
server to respond in a non-blocking way
Open Source Node.js has an extensive open source community which has contributed
in producing some excellent modules to add additional capabilities to
Node.js applications
No Buffering Node.js applications simply output the data in chunks and never buffer
any data
2
Mozilla
GoDaddy
3
o Select Next
Destination Folder
o Select Next
Custom Setup
o Select Next
Installing Node.js
o Let the installer run to completion
4
10. How to write and execute Node.js program to print “Hello World” in console?
First of all, open any text editor create a new file and save in .js format, and write
console.log("Hello World");
and save the file.
Now to run the program you need to open cmd in that folder where you save the .js file
and type
node hello.js
and it will show the output.