Skip to content

Wrong size #1071

Description

@nichoth

Why is the size wrong here?

https://packagephobia.com/result?p=@substrate-system/connect

Image

Says 157 MB, but looking at the filesize on npm, it is not that large.

Activity

styfle commented on Mar 24, 2025

@styfle
Owner

The npm website is only showing the publish size which is about 220KB, so that looks correct.

The install size includes all transitive dependencies.

Try this:

npm install <mypkghere>
du -sh node_modules

nichoth commented on Mar 24, 2025

@nichoth
Author

Thank you @styfle . workerd is what kills the install size.

113M	node_modules/workerd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @styfle@nichoth

        Issue actions