Skip to content

[Feature]: Replace chalk dependency with a lighter alternative  #15189

Open
@trivikr

Description

@trivikr

🚀 Feature Proposal

Replace chalk dependency with a lighter alternative

Motivation

Recently, the Ecosystem Performance was formed to cleanup, speedup, levelup the JavaScript Ecosystem.
Socket Security team wrote a blog post about it https://socket.dev/blog/javascript-community-launches-e18e-initiative-to-improve-ecosystem-performance

On the e18e cleanup channel on Discord, multiple solutions are being discussed. One of them is to replace chalk with picocolors.

I see that jest uses chalk

"chalk": "^4.0.0",

And it's upgrade to chalk@5.x is blocked since it's ESM only #14253 (comment)

Example

No response

Pitch

Replace chalk with a lighter alternative like picocolors.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions