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
Is >2.5x the unpacked package size (26.1 kB) than the two smallest alternatives: ansis (6.8 kB) and picocolors (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.
Since Mocha uses only single colors, Picocolors is the best choice for this use case. In this case, Ansis has no advantage over Picocolors. However, Ansis is better suited for more complex use cases, when, e.g. using ANSI 256 or Truecolor.
So, I'm for migration to Picocolors, it’s a reasonable decision.
Feature Request Checklist
faq
label, but none matched my issue.Overview
Coming over from #5274
ansi-colors
has a couple issues: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 thanpicocolors
, 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
The text was updated successfully, but these errors were encountered: