Node.js "tee" command where to create smart streams to handle stdin