-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
status: accepting prsMocha can use your help with this one!Mocha can use your help with this one!type: featureenhancement proposalenhancement proposal
Description
Feature Request Checklist
- I have read and agree to Mocha's Code of Conduct and Contributing Guidelines
- I have searched for related issues and issues with the
faq
label, but none matched my issue. - I want to provide a PR to resolve this
Overview
Coming over from #5274 ansi-colors
has a couple issues:
- It was last updated 3 years ago
- Is >2.5x the unpacked package size (26.1 kB) than the two smallest alternatives:
ansis
(6.8 kB) andpicocolors
(6.4 kB)
Suggested Solution
I personally propose switching to picocolors
. It's the smallest of the popular alternatives that I know of. It's also quite widely used at ~60m+ weekly downloads, showing it should be stable enough for Mocha.
Alternatives
ansis
is great too. It's only marginally larger than picocolors
, with a small enough difference that they're effectively the same. And at ~1m weekly downloads it's pretty popular in its own right.
Additional Info
💖
Co-authored-by: @webdiscus
webdiscus
Metadata
Metadata
Assignees
Labels
status: accepting prsMocha can use your help with this one!Mocha can use your help with this one!type: featureenhancement proposalenhancement proposal