updated readme with note about enabled property
This commit is contained in:
parent
eeadb9f40d
commit
eedf19d4ca
1 changed files with 4 additions and 1 deletions
|
|
@ -89,7 +89,10 @@ Multiple arguments will be separated by space.
|
|||
|
||||
### chalk.enabled
|
||||
|
||||
Color support is automatically detected, but you can override it.
|
||||
Color support is automatically detected, but you can override it by setting the
|
||||
`enabled` property or by creating a new instance just for your usage. Changing
|
||||
the property should only be done from end-user facing applications as it
|
||||
affects all consumers of the default chalk instance
|
||||
|
||||
### chalk.supportsColor
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue