Code, fetch client & API Docs generator for typesafe API Routes

QAR 18.00+

Suggest a price:
QAR

Svetch automatically scans your +server.ts files in /src/routes/api (or whatever directory you specify) and generates a typesafe Fetch client that has intellisense for path, query, body parameters & all the possible responses (and errors)

# 🧙‍♂️ Automatic Detection

- ❓ Query Params => Detected using any declarations of url.searchParams.getThan

- 📂 Path Params => Detected from the file directory

- 📦 Payload Definition => inferred from const payload: X = await request.json or as X

- 💬 Response Definition => inferred from any return statement with json(X) or new Response(X)

- 📛 Error Definitions => inferred from any throw statement with throw error() or throw new Error

SubtotalQARNaN
TotalQARNaN
You will be charged $1.00 USD.
Payments are secure and encrypted