# @size-limit/file

> File size plugin for Size Limit

Latest version **14.3.0** (published 2026-10-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install @size-limit/file
pnpm add @size-limit/file
yarn add @size-limit/file
bun add @size-limit/file
```

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 14.3.0 |
| Published | 2026-10-22 |
| First published | 2019-08-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM |
| Node | ^22.19.0 \|\| ^24.5.0 \|\| >=26.0.0 |
| Dependencies | 0 |
| Unpacked size | 3.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 7049 |
| Author | Andrey Sitnik |
| Maintainers | ai |
| Keywords | budget, file, performance, performance budget, plugin, size-limit |

## Links

- npm: https://www.npmjs.com/package/@size-limit/file
- Repository: https://github.com/ai/size-limit
- Homepage: https://github.com/ai/size-limit#readme
- Issues: https://github.com/ai/size-limit/issues
- npm.io page: https://npm.io/package/@size-limit/file

## Alternatives

- [unionfs](https://npm.io/package/unionfs.md) — 2.2M weekly downloads
- [path-starts-with](https://npm.io/package/path-starts-with.md) — 35.9K weekly downloads
- [redzip](https://npm.io/package/redzip.md) — 1.2K weekly downloads
- [vscode-anymatch](https://npm.io/package/vscode-anymatch.md) — 848 weekly downloads
- [@ledgerhq/coin-filecoin](https://npm.io/package/@ledgerhq/coin-filecoin.md) — 793 weekly downloads

## Recent versions

- 14.3.0 (latest) — 2026-10-22
- 14.2.0 — 2026-10-07
- 14.1.0 — 2026-09-27
- 14.0.1 — 2026-09-25
- 14.0.0 — 2026-09-15
- 13.1.1 — 2026-09-12
- 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
- … 99 more at https://npm.io/package/@size-limit/file/versions

## README

# Size Limit File Plugin

The plugin for [Size Limit] to track file size.

See Size Limit docs for more details.

[Size Limit]: https://github.com/ai/size-limit/

---

<img src="https://cdn.evilmartians.com/badges/logo-no-label.svg" alt="" width="22" height="16" />  Size Limit is built by <b><a href="https://evilmartians.com/">Evil Martians</a></b>, an American design and engineering consultancy for <b>developer tools, AI, and cybersecurity startups</b>.

---

---
_Source: https://npm.io/package/@size-limit/file · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
