{"uid":"cap_X4CCgA1jhLC8OUUQDSa2k","slug":"kihustle-js-minifier-32657f23","name":"KiHustle JS Minifier","description":"Kostenlose Guides, Solo-Playbooks und Artikel zu KI, Automation und Side Hustles — für Menschen, die mit echten Systemen online Einkommen aufbauen wollen. Transparent finanziert über faire Affiliate-Links.","url":"https://kihustle.tech/nexus/api/v1/js-minifier?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"js":{"type":"string"}}},"responseSchema":{"type":"json","example":{"result":"processed","status":"success"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ZpoUIvCbci0LMDYPYxvES","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Minifies JavaScript source code, reducing file size by removing whitespace, comments, and redundant characters","exampleAgentPrompt":"Can you minify this JavaScript for me? Here's the code: `function greet(name) { // say hello\\n  return 'Hello, ' + name; }` — I need a compressed version for production.","exampleUseCases":[{"title":"Minify production bundle before deploy","prompt":"I'm about to push my site to production — can you minify this JavaScript function so it loads faster? Here's the code: `function calcTotal(items) { var sum = 0; for (var i = 0; i < items.length; i++) { sum += items[i].price; } return sum; }`"},{"title":"Compress JS snippet for embedding","prompt":"I need to embed a small JS tracker snippet into an email template and need it as compact as possible — can you minify this: `window.addEventListener('load', function() { console.log('page loaded'); document.getElementById('banner').style.display = 'block'; });`"},{"title":"Automate JS compression in CI pipeline","prompt":"In my build workflow, can you run this JavaScript through the minifier so I get back the compressed version I can write to my dist folder? The code is: `const api = { fetch: function(url) { return fetch(url).then(r => r.json()); } };`"}],"resultDescription":"Returns a JSON object with a 'result' field containing the minified JavaScript string and a 'status' field indicating success or failure of the operation.","failureModes":["Invalid or malformed JavaScript input may result in a processing error or unpredictable output","Empty 'js' field may return a generic success with empty result","Extremely large JS payloads may time out or be rejected","Non-JavaScript content passed as input (e.g. CSS, HTML) may produce garbled output"],"whenToPreferThis":"Choose this endpoint when you need a simple, pay-per-call JavaScript minification API without setting up a local build tool like UglifyJS, Terser, or esbuild. Ideal for lightweight automation pipelines, agent workflows, or one-off compression tasks where installing npm tooling is impractical.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T12:43:35.743Z","isFirstParty":false,"canonicalSlug":"kihustle-js-minifier-32657f23"}