From 69b6d1d17b90892ec4aceb2136133d1f44646771 Mon Sep 17 00:00:00 2001 From: Yaksh Bariya Date: Tue, 28 Sep 2021 11:40:18 +0530 Subject: [PATCH] lib/tty.js: expose `hasColor` and `getColorDepth` directly --- lib/tty.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tty.js b/lib/tty.js index 33e7c26f0291ed..43314991a3ba13 100644 --- a/lib/tty.js +++ b/lib/tty.js @@ -161,4 +161,4 @@ WriteStream.prototype.getWindowSize = function() { return [this.columns, this.rows]; }; -module.exports = { isatty, ReadStream, WriteStream }; +module.exports = { isatty, getColorDepth, hasColors, ReadStream, WriteStream };