{"id":17561932,"url":"https://github.com/jonambas/esbuild-plugin-limit-size","last_synced_at":"2026-05-14T22:48:33.771Z","repository":{"id":44476408,"uuid":"512746482","full_name":"jonambas/esbuild-plugin-limit-size","owner":"jonambas","description":"A tiny (2kb) bundle size limiter plugin for esbuild.","archived":false,"fork":false,"pushed_at":"2023-08-27T17:39:25.000Z","size":94,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-07T08:48:45.874Z","etag":null,"topics":["esbuild","esbuild-plugin","esbuild-plugins","typescript"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jonambas.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-07-11T12:25:18.000Z","updated_at":"2022-07-30T21:48:49.000Z","dependencies_parsed_at":"2024-12-09T16:10:44.295Z","dependency_job_id":"a727e2e0-1cf4-464d-bfa0-d85b21534cea","html_url":"https://github.com/jonambas/esbuild-plugin-limit-size","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonambas%2Fesbuild-plugin-limit-size","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonambas%2Fesbuild-plugin-limit-size/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonambas%2Fesbuild-plugin-limit-size/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonambas%2Fesbuild-plugin-limit-size/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonambas","download_url":"https://codeload.github.com/jonambas/esbuild-plugin-limit-size/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246180889,"owners_count":20736459,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["esbuild","esbuild-plugin","esbuild-plugins","typescript"],"created_at":"2024-10-21T12:09:48.157Z","updated_at":"2025-10-24T10:22:20.084Z","avatar_url":"https://github.com/jonambas.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# esbuild-plugin-limit-size\n\nA tiny (2kb) bundle size limiter plugin for esbuild.\n\n```js\nconst { build } = require('esbuild');\nconst { limitSizePlugin } = require('esbuild-plugin-limit-size');\n\nbuild({\n  ...yourOptions,\n  plugins: [limitSizePlugin(limit, shouldThrow)]\n}).catch(() =\u003e process.exit(1));\n```\n\n### Plugin Args\n\n##### `limit`\n\nType: `number` Default: `500`\n\nSets the bundle size limit in KBs. This plugin at the moment only checks outputted `.js` files.\n\n##### `shouldThrow`\n\nType: `boolean` Default: `false`\n\nWhen this is set to `true`, and the provided limit has been exceeded, the plugin will throw an error.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonambas%2Fesbuild-plugin-limit-size","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonambas%2Fesbuild-plugin-limit-size","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonambas%2Fesbuild-plugin-limit-size/lists"}