DEV Community

Cover image for What is nodejs?
HARSH VATS
HARSH VATS

Posted on • Edited on

6 4

What is nodejs?

What is nodejs?

Maybe you are trying to learn backend or server side languages and then you came across this term nodejs. Let me explain it to you in simple terms.

When you write your javascript code and run it in browser, it runs perfectly. But what if you want to run it on server(your computer) and not in some browser. Here comes nodejs. So now you can say that it is a runtime enviornment for your javascript. Just type node index.js in your terminal to run your js file. Actually nodejs uses the same engine as that of Chrome's V8 javascript engine.

Nodejs was written by Ryan Dahl in 2009 and is very much used now-a-days.

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Immerse yourself in a wealth of knowledge with this piece, supported by the inclusive DEV Community—every developer, no matter where they are in their journey, is invited to contribute to our collective wisdom.

A simple “thank you” goes a long way—express your gratitude below in the comments!

Gathering insights enriches our journey on DEV and fortifies our community ties. Did you find this article valuable? Taking a moment to thank the author can have a significant impact.

Okay