Skip to main content

Installation

Modern Applications#

Install with NPM#

npm install pptxgenjs --save

Install with Yarn#

yarn add pptxgenjs

Additional Builds#

  • CommonJS: dist/pptxgen.cjs.js
  • ES Module: dist/pptxgen.es.js

Browser-Based Applications#

Using CDN#

jsDelivr Home

Bundle: Modern Browsers and IE11

<script src="https://cdn.jsdelivr.net/npm/pptxgenjs@3.8.0/dist/pptxgen.bundle.js"></script>

Min files: Modern Browsers

<script src="https://cdn.jsdelivr.net/npm/pptxgenjs@3.8.0/libs/jszip.min.js"></script><script src="https://cdn.jsdelivr.net/npm/pptxgenjs@3.8.0/dist/pptxgen.min.js"></script>

Download#

GitHub Latest Release

Bundle: Modern Browsers and IE11

<script src="PptxGenJS/dist/pptxgen.bundle.js"></script>

Min files: Modern Browsers

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