{"name":"size-limit","version":"12.0.1","keywords":["size-limit","cli","esm","performance","budget","performance budget"],"author":{"name":"Andrey Sitnik","email":"andrey@sitnik.ru"},"license":"MIT","_id":"size-limit@12.0.1","maintainers":[{"name":"ai","email":"andrey@sitnik.ru"}],"homepage":"https://github.com/ai/size-limit#readme","bugs":{"url":"https://github.com/ai/size-limit/issues"},"bin":{"size-limit":"bin.js"},"dist":{"shasum":"521737c1ab57e5b271c7e7f1e286bce61d69fd06","tarball":"http://registry-npm.ywwl.com/size-limit/download/size-limit-12.0.1.tgz","fileCount":17,"integrity":"sha512-vuFj+6lDOoBJQu6OLhcMQv7jnbXjuoEn4WsQHlSLOV/8EFfOka/tfjtLQ/rZig5Gagi3R0GnU/0kd4EY/y2etg==","signatures":[{"sig":"MEUCIFt5v7lN/ldn4k3iuCD8ltAGIdbLjZT63CgsE9rtK6Q2AiEAp8BJYU+GH6uCgHwrDvA8k38A4n3/MWI2d9/BoUNh/JE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":38303,"size":11951,"noattachment":false,"key":"/size-limit/-/size-limit-12.0.1.tgz"},"type":"module","types":"index.d.ts","engines":{"node":"^20.0.0 || ^22.0.0 || >=24.0.0"},"exports":{".":"./index.js","./package.json":"./package.json"},"gitHead":"9372618d2c97a10f68fba5936462995e098d7a76","_npmUser":{"name":"ai","email":"andrey@sitnik.ru"},"repository":{"url":"git+https://github.com/ai/size-limit.git","type":"git"},"_npmVersion":"10.9.4","description":"CLI tool for Size Limit","directories":{},"_nodeVersion":"22.22.0","dependencies":{"bytes-iec":"^3.1.1","lilconfig":"^3.1.3","picocolors":"^1.1.1","tinyglobby":"^0.2.15","nanospinner":"^1.2.2"},"_hasShrinkwrap":false,"peerDependencies":{"jiti":"^2.0.0"},"peerDependenciesMeta":{"jiti":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/size-limit_12.0.1_1772794897658_0.989274532079095","host":"s3://npm-registry-packages-npm-production"},"readme":"# Size Limit CLI Tool\n\n<img src=\"https://ai.github.io/size-limit/logo.svg\" align=\"right\"\n     alt=\"Size Limit logo by Anton Lovchikov\" width=\"120\" height=\"178\">\n\nSize Limit is a performance budget tool for JavaScript. It checks every commit\non CI, calculates the real cost of your JS for end-users and throws an error\nif the cost exceeds the limit.\n\n- **ES modules** and **tree-shaking** support.\n- Add Size Limit to **Travis CI**, **Circle CI**, **GitHub Actions**\n  or another CI system to know if a pull request adds a massive dependency.\n- **Modular** to fit different use cases: big JS applications\n  that use their own bundler or small npm libraries with many files.\n- Can calculate **the time** it would take a browser\n  to download and **execute** your JS. Time is a much more accurate\n  and understandable metric compared to the size in bytes.\n- Calculations include **all dependencies and polyfills**\n  used in your JS.\n\n<img src=\"./img/example.png\" alt=\"Size Limit CLI\" width=\"738\">\n\nWith **[GitHub action]** Size Limit will post bundle size changes as a comment\nin pull request discussion.\n\n<img src=\"https://raw.githubusercontent.com/andresz1/size-limit-action/master/assets/pr.png\"\n  alt=\"Size Limit comment in pull request about bundle size changes\"\n  width=\"686\" height=\"289\">\n\nSee **[full docs](https://github.com/ai/size-limit/)** on GitHub.\n\n[GitHub action]: https://github.com/andresz1/size-limit-action\n\n---\n\n<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>.\n\n---\n","publish_time":1772794897802,"_cnpm_publish_time":1772794897802,"dist-tags":{"latest":"14.3.0"}}