Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
var write = function(output) { rw.writeSync('/dev/stdout', '' + output + '\n', 'utf8'); }
Now stdin and stdout are files.