size-limit

CLI tool for Size Limit

size-limit downloads size-limit version size-limit license

size-limit类似的npm包:

npm下载趋势

3 年
🌟 在 size-limit 的 README.md 中显示实时使用量图表,只需复制下面的代码。
## Usage Trend
[![Usage Trend of size-limit](https://npm-compare.com/img/npm-trend/THREE_YEARS/size-limit.png)](https://npm-compare.com/size-limit#timeRange=THREE_YEARS)

Cumulative GitHub Star Trend

🌟 在 size-limit 的 README.md 中显示 GitHub stars 趋势图表,只需复制下面的代码。
## GitHub Stars Trend
[![GitHub Stars Trend of size-limit](https://npm-compare.com/img/github-trend/size-limit.png)](https://npm-compare.com/size-limit)

统计详情

npm包名称
下载量
Stars
大小
Issues
发布时间
License
size-limit06,91239.2 kB272 个月前MIT

size-limit的README

Size Limit CLI Tool

Size Limit logo by Anton Lovchikov

Size Limit is a performance budget tool for JavaScript. It checks every commit on CI, calculates the real cost of your JS for end-users and throws an error if the cost exceeds the limit.

  • ES modules and tree-shaking support.
  • Add Size Limit to Travis CI, Circle CI, GitHub Actions or another CI system to know if a pull request adds a massive dependency.
  • Modular to fit different use cases: big JS applications that use their own bundler or small npm libraries with many files.
  • Can calculate the time it would take a browser to download and execute your JS. Time is a much more accurate and understandable metric compared to the size in bytes.
  • Calculations include all dependencies and polyfills used in your JS.
Size Limit CLI

With GitHub action Size Limit will post bundle size changes as a comment in pull request discussion.

Size Limit comment in pull request about bundle size changes

See full docs on GitHub.