11 Commits (63d4a48d11f8e78b135407a47b904c91f650253e)

Author SHA1 Message Date
Sindre Sorhus 385a9ce4b4 convert to Promise API 9 years ago
Sindre Sorhus 9d52c96125 minor tweak 9 years ago
Sindre Sorhus ff3596d501 make sure the TTY callback is also async 10 years ago
Sindre Sorhus eedcea4652 use Streams2 pull streams 10 years ago
Sindre Sorhus 47062c76ed fix stdin TTY check and tests 10 years ago
Sindre Sorhus d2c098e089 return empty string/buffer when `process.stdin.isTTY === false` 10 years ago
Sindre Sorhus 665c240f0d return string by default and add extra method for returning buffer 10 years ago
Sindre Sorhus 0ec4bd297f improve perf 10 years ago
Kevin Martensson 1bb94fc8ee Always return data as `Buffer` 10 years ago
Sindre Sorhus 34c3534a10 various tweaks 10 years ago
Sindre Sorhus 2f3efbb11d init 11 years ago