pastelsky/bundlephobia

Docs: API surface

Open

#137 opened on Feb 16, 2019

View on GitHub
 (2 comments) (9 reactions) (0 assignees)JavaScript (250 forks)batch import
good first issue

Repository metrics

Stars
 (8,477 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

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 :)

Contributor guide