Open
Description
Hi, would you be open to a PR that replaces some of the libraries used in this package with faster, smaller alternatives?
The ones I have my eyes on are:
ansi-styles
->ansis
- faster
- 17kb -> 6kb
read-package-json-fast
->empathic
+JSON.parse(readFileSync)
- allows for finding manifests above the exact current working directory
- the package doesn't really use any features from
read-package-json-fast
except opening+parsing the file - 22kb -> 18kb
minimatch
->picomatch
- faster
- 446kb -> 83kb
cross-spawn
->tinyexec
/nano-spawn
- would require upping minimum node version to
>=20.19
- more modern
- 35kb -> 27kb
- would require upping minimum node version to
Metadata
Metadata
Assignees
Labels
No labels