Description
Describe the feature you'd like:
I want to propose to replace the chalk
dependency with the smaller and faster picocolors
package.
As part of the e18e initiative (ecosystem cleanup), we try to reduce the burden of old or big libs and modernize the ecosystem.
Considering that chalk is used for exactly one style in the console output in this lib, it might be worthwhile to think about geeting rid of it at all :D.
chalk
alone accounted for a whopping 907.93 GB
of traffic last month whenever it got installed as part of dom-testing-library
.
The tar size of 13.40Kb
doesn't seem much (dom-testing-library
s tar is 434.14KB
) but every bit counts :).
Suggested implementation:
Either use picocolor or inline the one styling you have.
In your case it would be a full drop-in repacement.
I would be willing to create the PR for you