# Size Limit

> Performance budget for JavaScript: fail CI when a change makes your bundle too big or slow

Source: https://talira.ai/catalog/size-limit-trhtb64c
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool
- Categories: [developer tools / performance / bundle size](https://talira.ai/categories/developer-tools/performance/bundle-size), [languages / javascript](https://talira.ai/categories/languages/javascript)
- Licence: MIT[^2]
- Pricing: Free and open source[^2]
- Pricing notes: Free and open source (MIT).
- Free tier: yes[^2]
- Backed by: [Andrey Sitnik](https://talira.ai/orgs/andrey-sitnik.md), [Evil Martians](https://talira.ai/orgs/evil-martians.md)

Size Limit is a performance budget tool for JavaScript by Andrey Sitnik, built at Evil Martians. It runs on every commit in CI, works out what your JS really costs users (all dependencies and polyfills included, with tree-shaking and ES modules) and fails when the cost goes over the limit you set, either in bytes (Brotli, Gzip or uncompressed) or in the time a browser takes to download and run it. Plugins and presets fit apps with their own bundler and small libraries alike, bundling with webpack, esbuild or Rolldown, and --why shows which dependencies make up the size, through Statoscope.

## Links

- GitHub: https://github.com/ai/size-limit

## Problems it solves

- fail CI when a pull request adds a huge dependency to my JavaScript bundle
- keep my npm library's bundle size under a budget
- see why my JS bundle is as big as it is

## Features

- size limits in bytes, with Brotli, Gzip or no compression
- time limits for downloading and running JS in headless Chrome
- webpack, esbuild and Rolldown plugins
- --why analysis of what makes up the size
- GitHub Action that comments size changes on pull requests

## Limitations

- Needs Node.js 22.19+, 24.5+ or 26+[^1]

## Trust

Overall: 0.64 out of 1.
Signals: maintenance 0.86, adoption 0.77, momentum 0.54, community 0.81, backing 0.30, extensibility 0.00.

- last commit 19 days ago
- 39 commits in the last 90 days
- latest release 14.3.0 38 days ago
- 7.1k GitHub stars
- 105 contributors
- accepts sponsorship (Github)
- backed by Andrey Sitnik and Evil Martians

## Sources

[^1]: https://github.com/ai/size-limit/blob/main/packages/size-limit/package.json (checked 29 Nov 2026)
[^2]: https://github.com/ai/size-limit/blob/main/LICENSE (checked 29 Nov 2026)
