Open sindresorhus opened 5 years ago
This is going to take the form of separate color-convert
and color-convert/unchecked
imports. The branching penalty of checking inputs is going to cripple e.g. image conversion libraries that use color-convert.
And throw when invalid.
See: https://github.com/chalk/ansi-styles/issues/36#issuecomment-370046775