{"slug":"code-halowerk-com-v1-bundle-size-c273c0","title":"Measure a supplied virtual JS/TS project before and after minification and tree-","host":"code.halowerk.com","method":"POST","resource":"https://code.halowerk.com/v1/bundle-size","category":"code","description":"Measure a supplied virtual JS/TS project before and after minification and tree-shaking, with gzip size, dependency contributions and an optional final bundle. Builds the same caller-supplied project three ways using installed esbuild 0.28.2 (MIT): bundled without minification or tree-shaking, minif","price_listed":0.003,"price_asked":0.003,"state":"answering","state_label":"Answering","checks_7d":7,"answered_7d":7,"latency_ms_median":1186,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"entry":"main.js","files":{"main.js":"import {add} from \"./math.js\"; export const answer=add(2,3);","math.js":"export const add=(a,b)=>a+b;"},"format":"esm"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"aliases":{"additionalProperties":{"maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._/-]*$","type":"string"},"default":{},"maxProperties":16,"propertyNames":{"pattern":"^[@A-Za-z0-9][@A-Za-z0-9._/-]{0,127}$","type":"string"},"type":"object"},"entry":{"maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._/-]*$","type":"string"},"files":{"additionalProperties":{"maxLength":16384,"type":"string"},"maxProperties":16,"minProperties":1,"propertyNames":{"maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._/-]*$","type":"string"},"type":"object"},"format":{"default":"esm","enum":["esm","iife","cjs"]},"include_bundle":{"default":false,"type":"boolean"},"tree_shaking":{"default":true,"type":"boolean"}},"required":["entry","files"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1320,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1201,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1207,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1183,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1165,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1172,"error":null},{"day":"2026-11-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1186,"error":null}],"description_full":"Measure a supplied virtual JS/TS project before and after minification and tree-shaking, with gzip size, dependency contributions and an optional final bundle. Builds the same caller-supplied project three ways using installed esbuild 0.28.2 (MIT): bundled without minification or tree-shaking, minified without tree-shaking, then minified with optional tree-shaking.","last_updated":"2026-11-20T12:07:33.287Z","schemes":["exact"]}