parent
587a5fbcbb
commit
85f99bb677
4 changed files with 43 additions and 1 deletions
7
stderr.js
Normal file
7
stderr.js
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
'use strict';
|
||||
const {stderr: stderrColor} = require('supports-color');
|
||||
const {constructor: Chalk} = require('.');
|
||||
|
||||
module.exports = new Chalk({level: stderrColor ? stderrColor.level : 0});
|
||||
module.exports.supportsColor = stderrColor;
|
||||
module.exports.default = module.exports; // For TypeScript
|
||||
Loading…
Add table
Add a link
Reference in a new issue