STDIN for Node JS in Windows.

Revision en2, by RKCROCKS144, 2022-08-12 08:37:20

I recently started using Node JS for programming, and I had written code that take input from stdin (command prompt) in windows. The difficulty arises here is that I go on inputting values and it didn't stopped (i.e. didn't reached the end). I searched over internet and found some saying that use CTRL-D or CTRL-V, but both is not working for me. Is there anything missed up or any other method to resolve it.

Any help would be appreciated. Thanks to community.

Tags nodejs, js, #js, coding

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English RKCROCKS144 2022-08-12 08:37:20 10 Tiny change: 'nAny help is appreciat' -> 'nAny help would be appreciat'
en1 English RKCROCKS144 2022-08-12 08:33:14 488 Initial revision (published)