is anyone teach me how write a programe in node js
i want to write basic c programe to node js is anyone can help me
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Nitin ManochaPosted Aug 13, 2020, 11:26 AM
there ain't much dependencies , unlike C , there is no need to include header file/package just for basic coding.
You need to download & install NodeJs from https://nodejs.org/en/download/ . While installing, it will give you an option to add Node to your enviroment variables, you need to selct it.
After installation , open command prompt and type "node --version" , it will print the node version installed. If not, then there must be some issue with the installation.
On successful installation, just open command prompt, move to the location where you want to write your code, create a file "xyz.js", and write the following code :
console.log("It's my first Node Code")
after saving, write Node xyz in cmd and hit enter.
you'll see "It's my first Node Code" written on the cmd.
Now you can move further with Node.
Rajanikant HawaldarPosted Feb 24, 2020, 12:39 AM
Amit PrabhuPosted Feb 24, 2020, 12:22 AM
Bhawna TutejaPosted Feb 11, 2020, 10:49 PM
Amit Kumar SinghPosted Sep 4, 2017, 11:43 AM