#1354 | 2024-07-02 00:55:57

pipe.js:

process.stdout.write(require('fs').readFileSync(0, 'utf-8'))
// or process.stdin.pipe(process.stdout)
script -q /dev/null node -p  "Boolean(0)" | node pipe.js
# will print yellow false