www.jsdelivr.com
www.jsdelivr.com copied to clipboard
[Feature Request] Show file sizes
In the detail page for any package, it shows all the files within that package, and I can toggle the slider to select which ones I want.
It would be very helpful to show each file's size (in bytes or KiB).
In the upcoming redesign, we're going to add download counts there. I'm not sure if adding the size as well wouldn't look too cluttered (we can probably try) but the downloads should be a good indication of which files are useful as well.
That would be very interesting, and in some cases it could be useful - e.g. it could tell you easily which file in a package is "the one", without consulting the docs (in case one is lazy :-) ).
But filesize is more important. In many packages there are multiple files and it's important to be able to reason about them. Sizes are important in deciding which to use.
The download counts are interesting, but the filesizes are important. Also I think the new design is very nice, not cluttered at all. And if something is necessary, it's necessary.
Looking forward to see what you folks come up with.
The CDN browser has file sizes, check it out https://cdn.jsdelivr.net/npm/react/
Keep in mind most people will land on the homepage, search, and redirect to a page like this, which should also have filesizes.
But in the meantime, the page you posted is very helpful, thanks!