pastelsky/bundlephobia

Docs: API surface

Open

#137 aperta il 16 feb 2019

Vedi su GitHub
 (2 commenti) (9 reazioni) (0 assegnatari)JavaScript (250 fork)batch import
good first issue

Metriche repository

Star
 (8477 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

hey,

I really love bundlephobia and I use it all the time via by IDE. It brings much-needed focus to the bundle size of dependencies. I'm just wondering if there is an api (there definitely is one I can see it in the request 🙈) that we can/should use? and if so is there any documentation? I could not find any and I'm usually pretty good at finding these informations 🙈

if not then my question directly: "Is there an api where you can get back the size of multiple packages at the same time" e.g. give the size of package A, B, C... I would like to display a list of packages and I don't think doing 20 request at the same time is such a good idea 🙈

so if there is any info available pls let me know. Even if it's just a specific github repo or a code file that's already helpful :)

thxxx :)

Guida contributor