Skip to main content
The PowerPoint packages are in private preview with alpha customers. Contact us to get access.

Install

For the editor UI, also install the editor package:

Optional native modules (Node)

PDF export needs none of these. They are optional; without one, the feature it serves is not available or uses a slower path.

Bundlers

  • The package has a browser export condition. Vite, webpack and esbuild select the browser build when they bundle for a page, so webpack and Next.js bundle it without fs errors.
  • Keep @reductoai/pptx/node out of client code. Mark @resvg/resvg-js, sharp and skia-canvas as external in a browser bundle.

Smoke test

Run it with npx tsx smoke.ts (or compile it first). Open hello.pdf.