size-limit

CLI tool for Size Limit

MIT 183 个版本
安装
npm install size-limit
yarn add size-limit
pnpm add size-limit
bun add 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.


  Size Limit is built by Evil Martians, an American design and engineering consultancy for developer tools, AI, and cybersecurity startups.


版本列表
13.0.3 2026-07-30
13.0.2 2026-07-28
13.0.1 2026-07-24
12.1.0 2026-04-13
12.0.1 2026-03-06
12.0.0 2025-11-28
11.2.0 2025-02-18
11.1.6 2024-09-30
11.1.5 2024-09-09
11.1.4 2024-05-16
11.1.3 2024-05-09
11.1.2 2024-03-21
11.1.1 2024-03-16
11.1.0 2024-03-13
11.0.3 2024-03-11
11.0.2 2024-01-16
11.0.1 2023-12-06
11.0.0 2023-11-13
10.0.3 2023-11-11
10.0.2 2023-11-01
10.0.1 2023-10-23
10.0.0 2023-10-23
9.0.0 2023-09-05
8.2.6 2023-06-24
8.2.5 2023-06-24
8.2.4 2023-02-12
8.2.3 2023-02-12
8.2.2 2023-02-12
8.2.0 2023-02-12
8.1.2 2023-01-18
8.1.1 2023-01-11
8.1.0 2022-09-07
8.0.1 2022-08-12
8.0.0 2022-07-30
7.0.8 2022-02-03
7.0.7 2022-02-03
7.0.6 2022-02-02
7.0.5 2021-12-25
7.0.4 2021-12-06
7.0.3 2021-11-19
7.0.2 2021-11-19
7.0.1 2021-11-18
7.0.0 2021-11-17
6.0.4 2021-10-29
6.0.3 2021-10-12
6.0.2 2021-10-11
6.0.1 2021-10-10
6.0.0 2021-10-09
5.0.5 2021-09-28
5.0.4 2021-09-21
5.0.3 2021-08-12
5.0.2 2021-07-26
5.0.1 2021-06-27
5.0.0 2021-06-25
4.12.0 2021-06-09
4.11.0 2021-05-22
4.10.3 2021-05-21
4.10.2 2021-03-30
4.10.1 2021-03-07
4.10.0 2021-03-04
4.9.2 2021-01-30
4.9.1 2020-12-02
4.9.0 2020-11-21
4.8.0 2020-11-18
4.7.0 2020-10-28
4.6.2 2020-10-21
4.6.1 2020-10-21
4.6.0 2020-09-07
4.5.7 2020-08-21
4.5.6 2020-08-09
4.5.5 2020-07-16
4.5.4 2020-07-11
4.5.3 2020-07-03
4.5.2 2020-06-23
4.5.1 2020-06-18
4.5.0 2020-05-04
4.4.5 2020-04-02
4.4.4 2020-04-02
4.4.3 2020-04-02
4.4.2 2020-03-27
4.4.1 2020-03-23
4.4.0 2020-03-15
4.3.1 2020-03-08
4.3.0 2020-03-08
4.2.1 2020-03-07
4.2.0 2020-03-07
4.1.1 2020-03-05
4.1.0 2020-03-05
4.0.2 2020-02-19
4.0.1 2020-02-05
4.0.0 2020-01-31
3.0.1 2020-01-31
3.0.0 2020-01-07
2.2.4 2019-12-27
2.2.3 2019-12-16
2.2.2 2019-12-04
2.2.1 2019-11-16
2.2.0 2019-11-12
2.1.6 2019-09-20
2.1.5 2019-09-13
2.1.4 2019-09-07
2.1.3 2019-09-06
2.1.2 2019-09-02
2.1.1 2019-08-18
2.1.0 2019-08-16
2.0.2 2019-08-11
2.0.1 2019-08-11
2.0.0 2019-08-11
1.3.8 2019-07-27
1.3.7 2019-06-14
1.3.6 2019-06-07
1.3.5 2019-05-26
1.3.4 2019-05-26
1.3.3 2019-05-24
1.3.2 2019-05-13
1.3.1 2019-05-02
1.3.0 2019-04-28
1.2.0 2019-04-27
1.1.2 2019-04-22
1.1.1 2019-04-22
1.1.0 2019-04-22
1.0.1 2019-04-06
1.0.0 2019-03-31
0.22.0 2019-03-28
0.21.1 2018-12-26
0.21.0 2018-10-29
0.20.1 2018-10-03
0.20.0 2018-09-04
0.19.3 2018-08-28
0.19.2 2018-08-13
0.19.1 2018-08-08
0.19.0 2018-07-26
0.18.5 2018-07-10
0.18.4 2018-07-08
0.18.3 2018-06-22
0.18.2 2018-06-04
0.18.1 2018-05-21
0.18.0 2018-05-13
0.17.1 2018-05-13
0.17.0 2018-03-17
0.16.2 2018-03-08
0.16.1 2018-03-05
0.16.0 2018-03-05
0.15.2 2018-03-02
0.15.1 2018-02-23
0.15.0 2018-02-23
0.14.1 2018-02-11
0.14.0 2018-01-14
0.13.2 2017-11-19
0.13.1 2017-11-07
0.13.0 2017-11-07
0.12.1 2017-10-31
0.12.0 2017-10-29
0.11.6 2017-10-03
0.11.5 2017-09-29
0.11.4 2017-09-18
0.11.3 2017-09-12
0.11.2 2017-09-11
0.11.1 2017-09-10
0.11.0 2017-09-03
0.10.0 2017-08-15
0.9.0 2017-08-15
0.8.4 2017-08-10
0.8.3 2017-08-10
0.8.2 2017-08-10
0.8.1 2017-08-09
0.8.0 2017-08-03
0.7.1 2017-07-22
0.7.0 2017-07-14
0.6.2 2017-07-12
0.6.1 2017-07-09
0.6.0 2017-07-09
0.5.1 2017-07-09
0.5.0 2017-07-06
0.4.0 2017-07-06
0.3.2 2017-07-04
0.3.1 2017-07-04
0.3.0 2017-07-02
0.2.0 2017-07-02
0.1.3 2017-07-02
0.1.2 2017-06-26
0.1.1 2017-06-26
0.1.0 2017-06-26