TakumiTakumi

Installation

Add Takumi to your project in any JS runtime.

One package, every runtime. Install it the way you'd install anything else.

bun add takumi-js
npm install takumi-js
pnpm add takumi-js
yarn add takumi-js

Runtime quick reference

RuntimeImport
Node.jsimport { Renderer } from "takumi-js/node"
Bunimport { Renderer } from "takumi-js/node"
Cloudflare Workers / Edgeimport { Renderer } from "takumi-js/wasm"
Browserimport { Renderer } from "takumi-js/wasm"
Any (auto-detect)import { render } from "takumi-js"

Most projects use the root import {render} from "takumi-js" and let Takumi pick the right runtime. Reach for the explicit Renderer only when you want to reuse it across calls or load fonts up front.

Edit on GitHub

Last updated on

On this page