NodeJs
NodeJs is an open- source andcross-platform runtime terrain erected on Chrome’s V8 JavaScript machine for executing JavaScript law outside of a cybersurfer. You need to recollect that NodeJS is n’t a frame, and it’s not a programing language. It provides an event- driven,non-blocking( asynchronous) I/ O andcross-platform runtime terrain for erecting largely scalable garçon- side operations using JavaScript.
Utmost people are confused and understand it’s a frame or a programing language. We frequently use Node.js for erecting back- end services like APIs, Web App, or Mobile App. It’s employed in product by large companies like Paypal, Uber, Netflix, Walmart,etc.
Why to learn NodeJS?
- Easy Scalability
- Real time web apps
- Fast Suite
- Easy to learn and code
- Advantage of Caching
- Data Streaming
- Hosting
- Corporate Support
Example
// Node.js program to display some
// text on consle screen
// Accessing console module
const console = require('console');
// Calling console.info() method
console.info("Welcome to GeekyExpert");
Steps to Run
First, Download NodeJs and Install them in your system, and then use the following command to run your code.
node geeky.js
Output
The output will display on the console screen.
Welcome to GeekyExpert
Learn more about Node.js
Complete Tutorials:
Please write comments if you find anything incorrect, or if you want to share more information about the topic discussed above…
Comments