CodrGeek is optimized for learning, testing, and training. Examples might be simplified to improve reading and basic understanding. Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. While using this site, you agree to have read and accepted our Privacy Policy Explore Now!

NodeJS

You need to recollect that NodeJS isn’t a framework, and it’s not a programing language.

Node.js is an open-source and cross-platform runtime environment built on Chrome’s V8 JavaScript engine for executing JavaScript code outside of a browser. You need to recollect that NodeJS isn’t a framework, and it’s not a programing language. It provides an event-driven, non-blocking (asynchronous) I/O and cross-platform runtime environment for building highly scalable server-side applications using JavaScript.

NodeJS
NodeJS

Most people are confused and understand it’s a framework or a programing language. We often use Node.js for building back-end services like APIs, Web App, or Mobile App. It’s utilized in production by large companies like Paypal, Uber, Netflix, Walmart, etc.

Why to learn NodeJS?

  1. Easy Scalability
  2. Real time web apps
  3. Fast Suite
  4. Easy to learn and code
  5. Advantage of Caching
  6. Data Streaming
  7. Hosting
  8. 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 CodrGeek");

Steps to Run: First, Download and Install in your system and then use the following command to run your code.

node filename.js

Output: The output will dispaly on console screen.

Welcome to CodrGeek

Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above


About the Author

Hey there! My name is Mayank, a professional Blogger, Graphic Designer, Coder as well as Content Creator from Uttar Pradeh, India. I love to Code and create interesting things while playing with it.

Post a Comment

Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Site is Blocked
Sorry! This site is not available in your country.