Close #54 PR: export classy chalk object to create isolated ctx. Fixes #46, Fixes #46

This commit is contained in:
David Keijser 2015-02-17 15:18:18 +07:00 committed by Sindre Sorhus
parent 4d9c98c603
commit 72d1c11e43
3 changed files with 31 additions and 15 deletions

View file

@ -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