Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tgpholly authored Aug 1, 2023
1 parent 1b9bc2e commit 03c5dc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
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:
Expand Down

0 comments on commit 03c5dc2

Please sign in to comment.