Skip to main content

Installation

Choose your preferred method to install PptxGenJS:

Quick Install (Node-based)​

npm install pptxgenjs
yarn add pptxgenjs

CDN (Browser Usage)​

Use the bundled or minified version via jsDelivr:

<script src="https://cdn.jsdelivr.net/gh/gitbrent/pptxgenjs/dist/pptxgen.bundle.js"></script>

Includes the sole dependency (JSZip) in one file.

📁 Advanced: Separate Files, Direct Download

<script src="PptxGenJS/libs/jszip.min.js"></script>
<script src="PptxGenJS/dist/pptxgen.min.js"></script>

Source Code and Examples​

Download from GitHub: Latest Release