Skip to content

Calculate the size based on the actual package used by optionalDependencies #38

@yisibl

Description

@yisibl

Nowadays there are a lot of packages that use optionalDependencies to distribute packages for different OS and CPUs and show their total size in the statistics, which is inaccurate because the user only needs to download one of the packages when actually downloading.

https://arve0.github.io/npm-download-size/#svg-sprite@2.0.0-beta2

image

Using @resvg/resvg-js as an example, I would like to show only the dimensions in macOS for example, can I add a select to the page?

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

    Issue actions