diff --git a/source/index.js b/source/index.js index 686758b..c9c8f75 100644 --- a/source/index.js +++ b/source/index.js @@ -223,4 +223,15 @@ chalk.supportsColor = stdoutColor; chalk.stderr = Chalk({level: stderrColor ? stderrColor.level : 0}); // eslint-disable-line new-cap chalk.stderr.supportsColor = stderrColor; +chalk.Level = { + None: 0, + Basic: 1, + Ansi256: 2, + TrueColor: 3, + 0: 'None', + 1: 'Basic', + 2: 'Ansi256', + 3: 'TrueColor' +} + module.exports = chalk;