Skip to main content

Installation

Webโ€‹

pnpm add @twip/web

The package ships the engine as a WebAssembly module and a worker script next to its JavaScript. Bundlers that copy assets referenced with new URL(..., import.meta.url) (Vite, webpack 5, esbuild with the file loader) need no setup. The same package runs in Node, headless.

.NETโ€‹

dotnet add package Twip.Core # the session: headless, any .NET app
dotnet add package Twip.WinForms # the DocumentEditor control

Twip.Core carries the native engine for win-x64, win-arm64, linux-x64 and linux-arm64. It works with Native AOT publishing; no extra configuration is needed.

On Linux the engine needs only the C runtime and fonts to draw with: a slim container image may have none, so see Fonts for the fonts documents expect.

Rustโ€‹

Cargo.toml
[dependencies]
twip = "0.1"