{"uid":"cap_Fw5uVJefuZCTQaOKWncD6","slug":"javascript-node-js-linter-v8-static-analysis-e19fa853","name":"JavaScript/Node.js Linter (V8 + Static Analysis)","description":"JavaScript / Node lint: POST {code}, get the bugs back with line numbers. Syntax errors come from the real V8 parser (compile-only — code is never executed), plus deterministic checks: loose == coercion, assignment in conditions, comparisons with NaN, const reassignment (runtime TypeError), var pitfalls, unused variables, leftover console.log. Handles ESM imports, template literals, regex. No AI. Max 128 KB.","url":"https://api.webbersites.com/api/lint/javascript","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":["code"],"properties":{"code":{"type":"string","description":"JavaScript/Node source to lint, max 128 KB"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"counts":{"type":"object"},"issues":{"type":"array"},"syntax":{"type":"object"},"verdict":{"type":"string"},"language":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"counts":{"info":0,"error":2,"warning":0},"issues":[{"hint":"use Number.isNaN(x)","line":2,"rule":"nan-compare","message":"nothing is ever == NaN — this comparison is always false","severity":"error"}],"syntax":{"ok":true,"errors":[]},"verdict":"errors","language":"javascript"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"1.00","reviews":0,"stars":null,"state":"rated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_lhjtuDIce2R7VUEMha_xY","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Lints JavaScript/Node.js source code using the real V8 parser for syntax errors plus deterministic static checks, returning bugs with line numbers — never executes the code.","exampleAgentPrompt":"Can you lint this JavaScript file for me and flag any bugs with line numbers — I want syntax errors, loose == comparisons, unused variables, and any leftover console.log statements caught before I ship it?","exampleUseCases":null,"resultDescription":"A list of detected issues in the submitted JavaScript code, each with a line number and description of the problem. Issues may include syntax errors (from V8 compile-only parsing), loose == coercions, assignments inside conditions, NaN comparisons, const reassignments, var-related pitfalls, unused variables, and leftover console.log calls.","failureModes":["Code exceeds 128 KB limit — request rejected","Malformed JSON body — missing or invalid 'code' field","Non-JavaScript content submitted — V8 parser reports unexpected syntax errors","Empty string submitted — may return no issues or trivial parse result","Network timeout for very large near-limit payloads"],"whenToPreferThis":"Choose this endpoint when you need fast, deterministic, no-AI JavaScript/Node.js linting that is safe (compile-only, never executes), supports ESM imports and modern syntax, and returns precise line numbers. Prefer it over AI-based code review when you want reproducible, rule-based results without hallucination risk, or over heavy local toolchains (ESLint) when running in a serverless or agent context without a Node environment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":4,"lastUsedAt":"2026-07-17T21:05:03.861Z","lastSuccessfullyRanAt":"2026-07-17T21:05:03.861Z","lastHealthCheckAt":"2026-09-15T06:39:35.268Z","isFirstParty":false}