{"name":"size-limit","version":"12.0.0","keywords":["size-limit","cli","esm","performance","budget","performance budget"],"author":{"name":"Andrey Sitnik","email":"andrey@sitnik.ru"},"license":"MIT","_id":"size-limit@12.0.0","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":"9f714026a1bae632d7516d37cb02a5e884fe3c9a","tarball":"http://registry-npm.ywwl.com/size-limit/download/size-limit-12.0.0.tgz","fileCount":17,"integrity":"sha512-JBG8dioIs0m2kHOhs9jD6E/tZKD08vmbf2bfqj/rJyNWqJxk/ZcakixjhYtsqdbi+AKVbfPkt3g2RRZiKaizYA==","signatures":[{"sig":"MEYCIQCheZEuQHWWh7HWTVBjwaSNJS9lryoovuZP4ScB5xCYLQIhAJDu1DXFh9ddMCwDr50y9bhYUh7BkCMDn+zuwto55SZD","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":38366,"size":11978,"noattachment":false,"key":"/size-limit/-/size-limit-12.0.0.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":"7d08aec46050f4bd14f663ffe02b604de70cc293","_npmUser":{"name":"ai","email":"andrey@sitnik.ru"},"repository":{"url":"git+https://github.com/ai/size-limit.git","type":"git"},"_npmVersion":"10.9.3","description":"CLI tool for Size Limit","directories":{},"_nodeVersion":"22.20.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,"devDependencies":{"@size-limit/file":"workspace:*","@size-limit/esbuild":"workspace:*","@size-limit/webpack":"workspace:*"},"peerDependencies":{"jiti":"^2.0.0"},"peerDependenciesMeta":{"jiti":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/size-limit_12.0.0_1764342394429_0.5702814332097053","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":1764342394638,"_cnpm_publish_time":1764342394638,"dist-tags":{"latest":"14.3.0"}}