{"_id":"@abdur008/canvas-to-pptx","name":"@abdur008/canvas-to-pptx","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@abdur008/canvas-to-pptx","version":"1.0.0","description":"Enterprise presentation and document exporter that converts canvas node graphs, diagrams, and blueprints into native Microsoft PowerPoint (.pptx) and Word (.docx).","author":{"name":"Blueprinto Team"},"license":"MIT","main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"build":"tsup","dev":"tsup --watch","test":"bun test","typecheck":"tsc --noEmit"},"keywords":["pptx-generator","canvas-export","powerpoint-export","docx-export","diagram-to-pptx","pptxgenjs"],"dependencies":{"docx":"^9.5.1","pptxgenjs":"^4.0.1"},"devDependencies":{"@types/bun":"latest","@types/node":"^20.17.0","tsup":"^8.3.6","typescript":"^5.7.3"},"gitHead":"814d31f9c0e1f3bfd79eb98b6b98a91d7255282f","_id":"@abdur008/canvas-to-pptx@1.0.0","_nodeVersion":"24.11.1","_npmVersion":"11.6.2","dist":{"integrity":"sha512-YvrkiUdgUNDRbByq0xdzKqoHJCuPrNpRqdI8gi/SfzPCtyOq6UEMSYILN1ioKQ4Zy5bLSfkX70bS2b7Gj3AaEA==","shasum":"b711c10f77fe41329cbcd94d21490ddae6ef4a63","tarball":"https://registry.npmjs.org/@abdur008/canvas-to-pptx/-/canvas-to-pptx-1.0.0.tgz","fileCount":8,"unpackedSize":120173,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIDzgUZ8dKA5XeR4s8Xf0GAmJ7/tk24rIXaK6DeuWYVxuAiBkSMwGvbHBFQ57qgZn88p2qOK7ZHD9mNtkVkuUcgT7YA=="}]},"_npmUser":{"name":"abdur008","email":"abdurfreelance@gmail.com"},"directories":{},"maintainers":[{"name":"abdur008","email":"abdurfreelance@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/canvas-to-pptx_1.0.0_1786824289556_0.9322833564981339"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-15T20:04:49.373Z","1.0.0":"2026-08-15T20:04:49.703Z","modified":"2026-08-15T20:04:49.871Z"},"maintainers":[{"name":"abdur008","email":"abdurfreelance@gmail.com"}],"description":"Enterprise presentation and document exporter that converts canvas node graphs, diagrams, and blueprints into native Microsoft PowerPoint (.pptx) and Word (.docx).","keywords":["pptx-generator","canvas-export","powerpoint-export","docx-export","diagram-to-pptx","pptxgenjs"],"author":{"name":"Blueprinto Team"},"license":"MIT","readme":"# @abdur008/canvas-to-pptx\n\nEnterprise presentation and document exporter that converts canvas node graphs, orbital diagrams, and blueprints into native Microsoft PowerPoint (`.pptx`) and Microsoft Word (`.docx`) files.\n\n## Installation\n\n```bash\n# Using bun\nbun add @abdur008/canvas-to-pptx pptxgenjs docx\n\n# Using npm\nnpm install @abdur008/canvas-to-pptx pptxgenjs docx\n```\n\n## Features\n\n- **Native PowerPoint Vector Shapes:** Generates slides with editable vector shapes, clean typography, tables, and color themes (not raster screenshots).\n- **Radial Diagram Generation:** Automatically maps node coordinates or circular ring layouts to PowerPoint vector nodes around a central focal hub.\n- **Multi-Slide Executive Decks:** Produces Title Slide, Strategic Overview Slide, Diagram Architecture Slide, Multi-Card Drill-down Slides, and Summary Tables.\n- **Word Document (DOCX) Export:** Generates structured executive summary documents.\n- **Custom Theming:** Built-in themes (`blueprint`, `corporate`, `minimal`, `education`) with custom color palette overrides.\n\n## Quick Start\n\n```typescript\nimport { PptxExporter, DocxExporter } from \"@abdur008/canvas-to-pptx\";\n\nconst blueprintData = {\n  title: \"Community Learning Blueprint\",\n  subtitle: \"2026 Academic Innovation Architecture\",\n  centerHub: {\n    title: \"Core Learning Model\",\n    description: \"Holistic framework for personalized learner agency and community engagement.\",\n    coreObjectives: [\n      \"Fostering experiential inquiry\",\n      \"Embedding real-world mentorship\",\n      \"Promoting continuous competency assessment\",\n    ],\n  },\n  nodes: [\n    {\n      id: \"node-1\",\n      title: \"STEM Discovery Labs\",\n      description: \"Hands-on robotics and environmental engineering projects.\",\n      category: \"STEM\",\n      color: \"3B82F6\",\n      status: \"Active\",\n      subcomponents: [\n        { id: \"s-1\", title: \"Aquaponics Lab\", score: 4.8 },\n        { id: \"s-2\", title: \"Autonomous Rovers\", score: 4.2 },\n      ],\n    },\n    {\n      id: \"node-2\",\n      title: \"Wellbeing & Advisory\",\n      description: \"Daily reflective circles and socio-emotional check-ins.\",\n      category: \"Wellbeing\",\n      color: \"22C55E\",\n      status: \"Active\",\n    },\n  ],\n};\n\n// Generate PowerPoint Presentation\nconst pptx = await PptxExporter.generate(blueprintData, {\n  theme: \"blueprint\",\n  includeDiagramSlide: true,\n  includeDetailSlides: true,\n  includeSummarySlide: true,\n});\n\n// Save to file (Node/Bun environment) or browser download\nawait pptx.writeFile({ fileName: \"learning-blueprint.pptx\" });\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md","_rev":"1-60a7042cc676b0d026b71c4284c673ae"}