From b31d6fb48a570d9be48044abe656c36dcac094e4 Mon Sep 17 00:00:00 2001 From: Richie Bendall Date: Sun, 4 Oct 2020 10:55:17 +1300 Subject: [PATCH] Add browser support information (#415) --- readme.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/readme.md b/readme.md index c1d4ebc..e4ac487 100644 --- a/readme.md +++ b/readme.md @@ -280,6 +280,10 @@ The following color models can be used: - [`ansi`](https://en.wikipedia.org/wiki/ANSI_escape_code#3/4_bit) - Example: `chalk.ansi(31).bgAnsi(93)('red on yellowBright')` - [`ansi256`](https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit) - Example: `chalk.bgAnsi256(194)('Honeydew, more or less')` +## Browser support + +Since Chrome 69, ANSI escape codes are natively supported in the developer console. + ## Windows If you're on Windows, do yourself a favor and use [Windows Terminal](https://github.com/microsoft/terminal) instead of `cmd.exe`.