Skip to content

Conversation

ayuhito
Copy link

@ayuhito ayuhito commented Sep 30, 2025

If you're okay with bumping the minimum Node version, you can drop the node-fetch dependency which is 17MB unpacked on disk. That's a huge difference.

image

Reference: https://npmgraph.js.org/?q=%40pb33f%2Fopenapi-changes

@ayuhito
Copy link
Author

ayuhito commented Sep 30, 2025

A more optional update, but I've pushed a second commit that drops tar for modern-tar (made by me) which drops another 400kb from the bundle and effectively makes the postinstall script only two tiny dependencies.

image

@ayuhito ayuhito changed the title chore: remove node fetch chore: remove node fetch and tar Sep 30, 2025
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