Node.js code for STDIN and STDOUT without using any library

suggest change

Versions

Introduction

This program reads standard input and writes it back to standard output. process is a global. It does not need require().

process.stdin.setEncoding('utf8');
process.stdin.on('data', function (chunk) {
  process.stdout.write(chunk);
});

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents