Hellow word in Node js with example ?

What is Node js ?

Node.js is an open-source, cross-platform JavaScript runtime environment that allows developers to run JavaScript code outside of a web browser. It is built on Chrome’s V8 JavaScript engine and enables the execution of JavaScript on the server-side. Node.js is commonly used to build scalable and high-performance network applications. It operates on a non-blocking, event-driven architecture, making it lightweight and efficient, particularly suitable for real-time applications like web servers, chat applications, APIs, and more.

1st create below file and put the code

hellow.js
console.log("Hey this is amit kumar");

2nd open run bellow command in terminal

node hellow.js

Benefits of using Node js

  1. Asynchronous and Event-Driven: Node.js operates on a non-blocking, event-driven model, allowing it to handle multiple concurrent connections efficiently without blocking the execution of other tasks.
  2. JavaScript Everywhere: Node.js enables developers to use JavaScript not only for client-side scripting but also for server-side programming, providing a unified language across the entire application stack.
  3. V8 JavaScript Engine: Node.js leverages the V8 JavaScript engine, which is known for its high performance and optimized code execution.
  4. NPM (Node Package Manager): Node.js comes with npm, a package manager that provides access to a vast ecosystem of reusable libraries and modules, simplifying the development process by offering solutions for various tasks, such as web frameworks, database drivers, authentication middleware, and more.
  5. Scalability: Node.js applications can easily scale to handle a large number of concurrent connections due to their non-blocking architecture and efficient event handling.

Hi I am Amit Kumar Thakur Experienced as s Software Developer with a demonstrated history of working in the information technology and services industry. Skilled in HTML, CSS, Bootstrap4, PHP, Laravel-9 , REST API,FB API,Google API, Youtube Api, Bitbucket,Github,Linux and jQuery. Strong engineering professional focused in Computer/Information Technology Administration and Management. Currently my profile is to Software Developer, analyze the requirement, creating frame for web application, coding and maintenance.

Related Posts

Youtube Subscriber Count in ReactJs

In this tutorial i’m going to learn how to count YouTube Subsribers count, views count as well, as define below. In order to install your app, first…

Explaination of Module in Node Js with Example ?

What is Module in Node Js? In Node.js, a module is essentially a reusable piece of code that encapsulates related functionality. Modules help in organizing code into…

What is Node JS Explaination ?

Node.js is an open-source, cross-platform JavaScript runtime environment that executes JavaScript code outside of a web browser. It is built on Chrome’s V8 JavaScript engine and allows…

Building HTTP Server in NodeJS with example ?

What is Node js ? Node.js is an open-source, cross-platform JavaScript runtime environment that allows developers to run JavaScript code outside of a web browser. It is…

What is Node JS with example ?

Node.js is an open-source, cross-platform JavaScript runtime environment that allows developers to run JavaScript code outside of a web browser. It is built on the V8 JavaScript…

How to Building HTTP Server in NodeJS

What is Node js ? 1st step create below file and put below code Next go to package.json and put below code Next to run below command…

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x