TakumiTakumi

Reference

API reference for the takumi-js package and its seven entrypoints.

Takumi ships as one npm package with seven entrypoints. Pick the subpath that matches your runtime and use case.

SubpathPurposePage
takumi-jsRuntime-detecting render() plus shared types.Core
takumi-js/responseResponse-compatible class for API routes (drop-in for next/og).Response
takumi-js/nodeNative Renderer class for Node.js.Node
takumi-js/wasmWASM Renderer for edge runtimes and browsers.WASM
takumi-js/helpersNode builders, unit helpers, and resource fetchers.Helpers
takumi-js/helpers/jsxfromJsx — turn a React tree into Takumi nodes outside the renderer.Helpers / JSX
takumi-js/helpers/emojiextractEmojis — replace emoji glyphs with provider-hosted SVGs.Helpers / Emoji

Four cross-cutting pages cover surfaces that live outside any single entrypoint:

Using the Rust crate directly? See docs.rs/takumi.

Edit on GitHub

Last updated on