Packages
What each package does, and which one to install.
| Package | What it is |
|---|---|
@inkoxide/react | React templates to PDF: the components, renderToBuffer, renderToFile, a browser entry |
@inkoxide/vue | The same for Vue |
@inkoxide/svelte | The same for Svelte |
@inkoxide/angular | The same for Angular |
@inkoxide/render | The engine for every front end: Font.register, bundled fonts, images, renderDocument for a JSON document tree |
@inkoxide/tree | What the front ends share: the components' props, where each may go, and host nodes to the document tree |
@inkoxide/tailwind | Optional: Tailwind class strings (className) to engine styles, with the Tailwind v4 compiler, and a build plugin that puts a table of your classes in the browser bundle in its place |
@inkoxide/style | Style values: CSS lengths, colours and transforms read into engine styles |
inkoxide | The engine for Node.js: a JSON or MessagePack document tree in, PDF bytes out |
@inkoxide/wasm | The engine as WebAssembly, for browsers: a JSON document tree in, PDF bytes out |
@inkoxide/schema | TypeScript types and JSON Schema of the document tree |
inkoxide crate | The engine as a Rust library |
Synced from README.md in the inkoxide repository.