UNPKG
vfile-reporter
Version:
latest (8.1.1)
8.1.1
8.1.0
8.0.0
7.0.5
7.0.4
7.0.3
7.0.2
7.0.1
7.0.0
6.0.2
6.0.1
6.0.0
5.1.2
5.1.1
5.1.0
5.0.0
4.0.0
3.1.0
3.0.0
2.1.0
2.0.1
2.0.0
1.5.0
1.4.1
1.4.0
1.3.0
1.2.0
1.1.0
1.0.0
vfile utility to create a report for a file
github.com/vfile/vfile-reporter
vfile/vfile-reporter
vfile-reporter
/
lib
/
color.node.js
8 lines
(5 loc)
•
168 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
import
supportsColor
from
'supports-color'
/**
@type
{
boolean
} */
// @ts-expect-error Types are incorrect.
const
color = supportsColor.
stderr
.
hasBasic
export
{color}