is-terminal 0.4.4

Test whether a given stream is a terminal
Documentation