Skip to content
@paperjsx

paperjsx

Document generation from JSON. Native PPTX, DOCX.

PaperJSX

Generate native .pptx, .docx, .xlsx, and .pdf files from JSON. No headless Chromium, no HTML conversion — real OOXML and real PDF, straight to a buffer.

Deterministic output, flexbox layout, and strict Zod validation at every edge. Works in any Node.js >=18 runtime — serverless, edge, CI, desktop.

Packages

Free (Apache-2.0)

Commercial

  • @paperjsx/json-to-pptx-pro — 140+ shapes, 15 chart types, .potx templates, HarfBuzz shaping, canvas previews. Production / self-hosting license.
  • @paperjsx/json-to-docx-pro · @paperjsx/json-to-pdf-pro · @paperjsx/json-to-xlsx-pro — commercial tiers of the document engines.

Agents

  • @paperjsx/mcp-server — Model Context Protocol server. 13 tools that let Claude, Cursor, Copilot, Windsurf, Cline, and Gemini actually produce documents, not just describe them.

Quick start

npm install @paperjsx/json-to-pptx

import { PaperEngine } from "@paperjsx/json-to-pptx";                                                             
import { writeFileSync } from "node:fs";
                                                                                                                  
const buffer = await PaperEngine.render({                       
  type: "Document",                                                                                               
  slides: [{                                                                                                      
    type: "Slide",
    children: [{ type: "Text", content: "Hello, PaperJSX" }],                                                     
  }],                                                                                                             
});
                                                                                                                  
writeFileSync("hello.pptx", buffer);  

Docs · playground · npm · npm

Built by theplainworks

Popular repositories Loading

  1. mcp-server mcp-server Public

    MCP server for AI agent document generation

    1

  2. templates templates Public

    Ready-to-use document templates with sample data

    1

  3. json-to-pptx-lite json-to-pptx-lite Public

    Generate PowerPoint files from JSON (free, MIT)

  4. .github .github Public

    Organization profile and shared Renovate config

  5. json-to-pdf json-to-pdf Public

    Generate PDF documents from JSON

  6. json-to-xlsx json-to-xlsx Public

    Generate Excel spreadsheets from JSON

Repositories

Showing 9 of 9 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…