How to detect if the type of the process.stdout/stdin is a terminal or a pipe/file? A snipped in JavaScript is required:How to detect if the type of the process.stdout
How to detect if the type of the process.stdout/stdin is a terminal or a pipe/file? A snipped in JavaScript is required:How to detect if the type of the process.stdout