Dev Tools

JavaScript / Node lint

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.

Price: $0.002 per call, paid in USDC via the x402 protocol (see the x402 security scheme).

post/api/lint/javascript

Request

  • Base URL: https://api.webbersites.com
  • URL: https://api.webbersites.com/api/lint/javascript
  • Auth: API key in header X-PAYMENT

Request body

codestring required

JavaScript/Node source to lint, max 128 KB

Response

Success

languagestring
syntaxobject
countsobject
verdictstring

Changes

No recorded changes to this operation across all 1 revision of this API.