Requirements and compatibility
Supported Node, React and Playwright versions for DocStudio 0.2.0, browser support for the designer, and the single runtime dependency.
| Part | Requirement |
|---|---|
| Node | 20.19 or later |
| Module format | ESM only |
docstudio/designer |
React and React DOM 18 or later, @dnd-kit/core 6.3.1 or later and below 7 |
docstudio/server |
Playwright 1.50 or later and a Chromium installed with npx playwright install chromium |
| Runtime dependency | @cfworker/json-schema |
| Install scripts | None |
Browsers
The designer is tested in Chromium. Firefox and WebKit are partially tested, so treat them as untested for production use of the designer. The core and the renderer produce plain HTML and CSS and do not depend on a browser.
Where each entry point runs
docstudio,docstudio/coreanddocstudio/renderrun in Node, browsers and workers. They use no DOM, no Node-only API and no network.docstudio/pdfis browser-safe. It never imports Playwright.docstudio/serveris Node only. The package map gives it anulldefault so a browser bundler cannot resolve it by accident.docstudio/designerneeds a React environment.
TypeScript
Types ship with the package. Resolution works under both NodeNext and Bundler module resolution. See TypeScript usage.
Versioning
DocStudio follows semantic versioning for its entry points. Before 1.0.0, a minor version can contain breaking changes, and they are recorded in the changelog. The template schema has its own version, currently 1.0.0.