You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[colors.js](https://github.com/Marak/colors.js) used to be the most popular string styling module, but it has serious deficiencies like extending `String.prototype` which causes all kinds of [problems](https://github.com/yeoman/yo/issues/68). Although there are other ones, they either do too much or not enough.
@@ -107,13 +107,13 @@ var ctx = new chalk.constructor({enabled: false});
107
107
108
108
### chalk.supportsColor
109
109
110
-
Detect whether the terminal [supports color](https://github.com/sindresorhus/supports-color). Used internally and handled for you, but exposed for convenience.
110
+
Detect whether the terminal [supports color](https://github.com/chalk/supports-color). Used internally and handled for you, but exposed for convenience.
111
111
112
112
Can be overridden by the user with the flags `--color` and `--no-color`. For situations where using `--color` is not possible, add an environment variable `FORCE_COLOR` with any value to force color. Trumps `--no-color`.
113
113
114
114
### chalk.styles
115
115
116
-
Exposes the styles as [ANSI escape codes](https://github.com/sindresorhus/ansi-styles).
116
+
Exposes the styles as [ANSI escape codes](https://github.com/chalk/ansi-styles).
117
117
118
118
Generally not useful, but you might need just the `.open` or `.close` escape code if you're mixing externally styled strings with your own.
0 commit comments