Files
node/doc/api
Ruben Bridgewater d4fdec6b65 tty: add hasColors function
This adds a small wrapper around the `getColorDepth` function to check
if the stream supports at least a specific amount of colors. This is
convenient as the other API is not as straight forward and most use
cases likely only want to know if a specific amount of colors is
supported or not.

PR-URL: https://github.com/nodejs/node/pull/26247
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Weijia Wang <starkwang@126.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
2019-03-05 18:37:39 +01:00
..
2019-01-27 03:34:25 +01:00
2019-03-04 10:27:50 -08:00
2019-02-12 06:38:46 -08:00
2019-01-18 10:35:55 +05:30
2019-01-08 01:16:51 +02:00
2019-03-04 17:44:03 -05:00
2019-03-02 14:10:30 +01:00
2018-07-14 22:57:03 +03:00
2019-02-19 07:20:55 +01:00
2019-03-03 19:26:14 -05:00
2019-01-28 16:25:07 -08:00
2019-02-14 23:55:48 +01:00
2019-03-05 18:37:39 +01:00
2019-03-01 00:04:16 +01:00
2019-03-02 14:10:30 +01:00
2019-01-14 09:36:41 +01:00