DEV Community

Cover image for What is nodejs?
HARSH VATS
HARSH VATS

Posted on • Updated on

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)