use isatty instead if isTTY
Merge pull request #68 from mafintosh/isatty

Use isatty instead if process.stdin.isTTY