bundlephobia

?️ Find out the cost of adding a new frontend dependency to your project

Github星跟踪图

Features

  • Works with ES6 packages
  • Can build css and scss packages as well (beta)
  • Reports historical trends
  • See package composition

Badges

Built using bundlephobia

  • Size in browser - As seen on package searches at yarnpkg.com
  • bundlephobia-cli - A Command Line client for bundlephobia
  • importcost - An Atom plugin to display size of imported packages

Support

Liked bundlephobia? Used it's API to build something cool? Let us know!

We could use some ? on our opencollective page –

FAQ

1. Why does search for package X throw MissingDependencyError ?

This error is thrown if a package requires a dependency without adding it in its dependencies or peerDependencies list. In the absence of such a definition, we cannot reliably report the size of the package - since we cannot resolve any information about the package.

In such a case, it's best to report an issue with the package author asking the missing package to be added to its package.json

2. I see a BuildError for package X, but I'm not sure why.

You can see a detailed stack trace in your devtools console, and open an issue with the relevant details. Working on a more ideal solution for this.

Contributing

See Contributing

主要指标

概览
名称与所有者pastelsky/bundlephobia
主编程语言JavaScript
编程语言JavaScript (语言数: 4)
平台
许可证MIT License
所有者活动
创建于2017-03-27 17:24:15
推送于2024-06-02 07:37:23
最后一次提交2017-10-02 13:17:55
发布数7
最新版本名称v1.2.1 (发布于 2019-10-29 21:12:28)
第一版名称v1.0.0 (发布于 )
用户参与
星数9.3k
关注者数20
派生数226
提交数452
已启用问题?
问题数779
打开的问题数403
拉请求数62
打开的拉请求数24
关闭的拉请求数38
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?