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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A drop-in, function compatible alternative to chalk that supports CommonJS
## Motivations
When version 5 of chalk was released support for CommonJS was dropped. I don't yet (if ever) want to migrate to ESM so I made this.
When version 5 of chalk was released support for CommonJS was dropped. I don't yet (if ever) want to migrate to ESM and was frustrated that I had to use `chalk@4`so I made this as a result of that frustration.
## Things to note
When using TypeScript you may need to change the way you import the module if you import chalk like this: