Skip to content
Agents tracked: 440 Downloads (7d): 202M down 19.5% GitHub stars: 10.4M Releases (7d): 607 Agent status: all upSince last limit reset: Claude 28d · Codex 0d Updated Oct 21, 2026

size-limit

CLI tool to check and enforce JavaScript bundle size limits.

Build tools and bundlers npm MIT

Used in agent projects
14
0.3% of 4,818 JS/TS repos built with AI coding agents; 33 counting our dependency samples
Gid Score
51 /100
#1434 of 3,794 tools, #79 in build tools and bundlers · ranking
Rank in build tools and bundlers
#65 of 164
by use in those projects
Downloads
920K
npm, last 7 days, size-limit
GitHub stars
7,035
1,751 forks · last push Oct 7, 2026

How size-limit is used

size-limit is a dependency in 14 of the 6,208 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 2,661, Ethereum and EVM 1,496, 3D and games 2,818, agent frameworks and SDKs 10,983); counting those, it appears in 33 projects, and what it is used with below comes from all of them. Projects that use it most often also use Playwright (JavaScript) (84.8%), Vitest (84.8%), Vite (81.8%).

size-limit popularity over time

Top tools by Gid Score

size-limit: downloads per weeknpm, size-limit 919,876
size-limit: GitHub starsai/size-limit 7,035

Gid Score 51: downloads 63, use in agent projects 35, GitHub stars 44, downloads trend 60 (each 0-100). How it is calculated.

Often used with size-limit

Playwright (JavaScript)84.8% of size-limit projects · 5.0× more than average
Vitest84.8% of size-limit projects · 4.1× more than average
Vite81.8% of size-limit projects · 4.2× more than average
Prettier81.8% of size-limit projects · 3.9× more than average
Husky75.8% of size-limit projects · 7.4× more than average
Testing Library72.7% of size-limit projects · 7.2× more than average
lint-staged72.7% of size-limit projects · 9.3× more than average
tsx72.7% of size-limit projects · 4.8× more than average

From all 33 projects in our scan that use size-limit, including the dependency samples.

By coding agent

Claude Code0.3% of projects set up for it
GitHub Copilot0.3% of projects set up for it
Gemini CLI1.5% of projects set up for it
Cursor0.2% of projects set up for it

Share of public repos configured for each agent that list size-limit as a dependency.

How size-limit is funded

Most funded tools

GitHub Sponsors

@ai17 current sponsors

GitHub shows how many people and companies sponsor an account, not how much they pay. Sponsors of a person back all of their work, which here includes Nanoid (JavaScript), Browserslist, Nano Stores.

Ways to fund size-limit

GitHub Sponsors

As the maintainers list them in FUNDING.yml on GitHub. Checked Oct 20, 2026.

Install

Packagenpm install size-limit
Main stacksNext.js (21), TypeScript / JavaScript (11), Rust (1)
Example projectsdiegosouzapw/OmniRoute, primer/react, ag-grid/ag-charts, ai-integr8tor/diegosouzapw-OmniRoute, cascade-protocol/sati

Alternatives to size-limit

All build tools and bundlers

In our scan, none of the most used tools in Build tools and bundlers does the same job as size-limit: they are add-ons, companions or tools for a different task.

More in Build tools and bundlers: Vite Turborepo esbuild Babel (JavaScript) Laravel Vite Plugin React Compiler Babel Plugin Nx vite-tsconfig-paths

Is size-limit right for your project? Ask AgentGid →