tako-sdk-js
Installation
SKILL.md
Tako SDK (tako.sh)
Runtime SDK for JavaScript/TypeScript apps deployed with Tako.
CRITICAL: The
tako.shpackage is required — it provides the entrypoint binaries that tako-server launches to run your app. Tako v0 uses plain ES modules everywhere — noTakoglobal. Runtime state (env, secrets, logger, build info) is accessed through thetakoobject fromtako.sh; channels and workflows are imported from their own files.
CRITICAL: Framework helpers are opt-in. Use
tako.sh/vitefor Vite-based SSR frameworks (TanStack Start, Nuxt, SolidStart) andtako.sh/nextjsfor Next.js standalone builds. Plain fetch-handler apps do not need either helper.
Core Concept: The Fetch Handler
Tako apps export a standard fetch handler as the default export:
// src/index.ts — this is a complete Tako app, no SDK import needed
export default function fetch(request: Request, env: Record<string, string>) {
return new Response("Hello World!");
}
Related skills