-
Notifications
You must be signed in to change notification settings - Fork 477
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace chalk
dependency with a lighter alternative
#600
Comments
I created a similar feature request with jscodeshift devDependencies which uses chalk:
Babel already replaced |
What does "lighter" mean in this case? Could you please share the metrics being used? |
It usually means an alternative with a smaller size (install/publish/bundle). The dependency On other hand, picocolors has 5.03 kB install/publish size The lighter alternatives sometimes come with performance benefits too. |
Is your feature request related to a problem? Please describe.
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
withpicocolors
. I see that jscodeshift useschalk
jscodeshift/package.json
Line 37 in 0994ad8
Describe the solution you'd like
Replace
chalk
with a lighter alternative, likepicocolors
.The text was updated successfully, but these errors were encountered: