Skip to content
fetchlet
Menu

Frameworks

Choose the adapter of your framework. Each one is a subpath of the fetchlet npm package.

On this page

Install fetchlet as a development dependency alongside your framework. Every framework adapter is a subpath of the fetchlet package, with framework packages listed as optional peer dependencies.

npm install -D fetchlet
pnpm add -D fetchlet
yarn add -D fetchlet
bun add --dev fetchlet
vp i -D fetchlet

All adapters produce the same artifact layout (server.js, client/, and fetchlet.json) and work with QuickJS, Boa, and V8.

Framework Adapter subpath Dev server (--vite) Example
Astro fetchlet/astro, fetchlet/astro/server Yes (devServer: true) astro-axum
Hono and HonoX fetchlet/hono/vite, fetchlet/hono/conninfo Rebuild honox-axum
Nuxt and Nitro fetchlet/nitro, fetchlet/nitro/types Rebuild nuxt-axum
Qwik City fetchlet/qwik-city/vite, fetchlet/qwik-city/middleware Rebuild qwik-city-axum
React Router fetchlet/react-router, fetchlet/react-router/context Yes (fetchletDevServer) react-router-axum
Solid fetchlet/solid, fetchlet/solid/context Yes solid-axum
SolidStart fetchlet/solid-start, fetchlet/solid-start/context Yes solidstart-axum
SvelteKit fetchlet/sveltekit Rebuild sveltekit-axum
TanStack Start fetchlet/tanstack-start Yes tanstack-start-axum
vinext fetchlet/vinext, fetchlet/vinext/context Rebuild vinext-axum
Waku fetchlet/waku, fetchlet/waku/context Rebuild waku-axum
Vite fetchlet/vite, fetchlet/vite/client-assets Yes vanilla-axum

Without a framework adapter

Unsupported frameworks

Next.js (next build output — use vinext instead), Qwik 2, and SolidStart builds targeting Nitro are not supported.

Common notes across frameworks

  • WebAssembly: QuickJS and Boa do not provide WebAssembly. If your app or its dependencies require WebAssembly, build for and run on the v8 backend (Engine limits).
  • Static assets: All adapters accept assets: true (or a custom configuration) to pack client/ into a compressed assets.flpk archive for fast serving and single-binary embedding (Asset archive).

Type to search the documentation.