es-tooling / ecosystem-cleanup

A place to keep track of ongoing efforts to clean up the JS ecosystem
404 stars 2 forks source link

Replace `chalk` with `picocolors` #132

Open Fuzzyma opened 6 days ago

Fuzzyma commented 6 days ago

A lot of usecases of chalk can be migrated to the smaller picocolors package. Here is a list of the top 30 dependents sorted by downloads last month.

Disclaimer: Npm only allows a maximum of 396 dependents to be crawled. So this list is probably not complete

# Dev Downloads Traffic Package Issue
1 301.70M 4041.84 GB @jest/types https://github.com/jestjs/jest/pull/15197
2 231.80M 3105.46 GB jest-util
3 183.65M 2460.29 GB eslint https://github.com/eslint/eslint/issues/18686
4 170.22M 2280.50 GB jest-message-util
5 167.59M 2245.23 GB jest-diff
6 153.86M 2061.23 GB jest-matcher-utils
7 121.82M 1632.08 GB jest-resolve
8 120.09M 1608.79 GB ora
9 118.92M 1593.13 GB jest-validate
10 117.82M 1578.46 GB babel-jest
11 116.58M 1561.78 GB jest-watcher
12 114.13M 1528.95 GB jest-snapshot
13 111.70M 1496.40 GB jest-config
14 110.92M 1485.96 GB jest-runtime
15 108.33M 1451.36 GB jest-each
16 108.26M 1450.34 GB jest-runner
17 107.42M 1439.14 GB jest-cli
18 105.57M 1414.33 GB @jest/reporters
19 90.20M 1208.47 GB jest-circus
20 67.77M 907.93 GB @testing-library/dom https://github.com/testing-library/dom-testing-library/issues/1340
21 63.80M 854.69 GB jake https://github.com/jakejs/jake/issues/433
22 56.41M 755.72 GB fork-ts-checker-webpack-plugin
23 53.15M 712.09 GB create-jest
24 52.07M 697.55 GB boxen
25 49.96M 669.26 GB @testing-library/jest-dom
26 43.48M 582.54 GB lint-staged
27 40.15M 537.87 GB jest-jasmine2
28 30.91M 414.07 GB ts-loader
29 27.30M 365.77 GB update-notifier
30 26.00M 348.33 GB npm

I attached the markdown file with all 396 dependents output-chalk.md