Deliver in another way, what is node.js equivalent to C function getchar ? (who is waiting for input and when he receives it, he returns the character code of the letter, and subsequent calls get more characters from stdin)
I tried to find google, but none of the answers were synchronous.
source share