Skip to content

Conversation

@ayuhito
Copy link

@ayuhito ayuhito commented Oct 16, 2025

If there is any appetite to reduce the dependency count, I'd love to suggest using modern-tar that solely relies on native APIs to reduce the surface area by 6 dependencies (additional 2MB unpacked). This brings the total package size down from 6MB to ~4MB when running npx for the first time.

This has a very small surface area which makes me believe this is a safe migration to undertake. Please let me know if there any concerns!

image

Ref: https://npmgraph.js.org/?q=node-jq


On a side note, zod is around 3MB (almost 4MB if upgraded to zod@4). If we were to switch it out with something more native or even Zod Mini, the install size would significantly drop which would be a much faster initial npx experience. That would also be a very interesting avenue to explore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant