{"_id":"@danielsiwiec/pptxgenjs","_rev":"1-10375cac6e8871f8010f18274038a333","name":"@danielsiwiec/pptxgenjs","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@danielsiwiec/pptxgenjs","version":"1.0.0","author":{"name":"Brent Ely","url":"https://github.com/gitbrent/"},"description":"Create JavaScript PowerPoint Presentations","homepage":"https://gitbrent.github.io/PptxGenJS/","license":"MIT","main":"dist/pptxgen.cjs.js","module":"dist/pptxgen.es.js","types":"types","scripts":{"build":"rollup -c","start":"gulp","ship":"gulp ship","watch":"rollup -cw","doctoc":"./node_modules/doctoc/doctoc.js README.md"},"browser":{"express":false,"fs":false,"https":false,"image-size":false,"os":false,"path":false},"dependencies":{"@types/node":"^14.14.10","https":"^1.0.0","image-size":"^0.9.3","jszip":"^3.5.0"},"devDependencies":{"@rollup/plugin-commonjs":"^17.0.0","@rollup/plugin-node-resolve":"^11.0.1","doctoc":"^2.0.0","express":"^4.17.1","gulp":"^4.0.2","gulp-concat":"^2.6.1","gulp-delete-lines":"0.0.7","gulp-ignore":"^3.0.0","gulp-insert":"^0.5.0","gulp-sourcemaps":"^3.0.0","gulp-uglify":"^3.0.2","rollup":"^2.34.2","rollup-plugin-typescript2":"^0.29.0","typescript":"^4.1.2"},"repository":{"type":"git","url":"git+https://github.com/gitbrent/PptxGenJS.git"},"keywords":["javascript-create-powerpoint","javascript-create-pptx","javascript-generate-pptx","javascript-powerpoint","javascript-pptx","js-create-powerpoint","js-create-pptx","js-generate-powerpoint","js-powerpoint","js-powerpoint-library","js-powerpoint-pptx","react-powerpoint","typescript-powerpoint"],"bugs":{"url":"https://github.com/gitbrent/PptxGenJS/issues"},"gitHead":"c7c36a1b9b6b2272f4ca60c3d1fe1605276c5d1b","_id":"@danielsiwiec/pptxgenjs@1.0.0","_nodeVersion":"12.19.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-cDIEyYvG7gwkVb8blQ8QOTlNF+oNmygkZvR3fEncvokGYDhpoUIbPEyZRvyhU2Sr/Bi+CzQKrd2oNpu3Cyb6Ew==","shasum":"66068c2b4e3bcea56fef866e8890a33c6682281a","tarball":"https://registry.npmjs.org/@danielsiwiec/pptxgenjs/-/pptxgenjs-1.0.0.tgz","fileCount":12,"unpackedSize":2160552,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgFKW5CRA9TVsSAnZWagAA4aYQAJgBPEHabqhAT02XrIgn\nGKupp3JhjRvBU43oIwhii6ZXJBdmJ8rViGifqBwGo6J/awVRqxSYdaVdk7YS\nGhLnO7q5qEwhgc7zWeq2X81v0PdNpXX9Brl0jCLoN2APhFmoDNndyk8w9GkI\nW48EsSkU2Mhf7y/3C7xSj4YIjB2Y5nsH18/xy+xu7JPmK7kiBrykCYsMmRr6\n0c3cTPuNtvL+tY0yNyb6iAka9SXIE6d/Ix2tWnBjKo1Lyipa7cS0FcmZdpxA\nq9z0p8/q8hSgBCYiB9YTFNwdZYbpCn43eT9kfTdCzAN6IB4MSP1i9Cz+FHoy\nzXQ7Apx0ol4drURKRq8OFjMeF3H3edHDSdVgVhuoc/FzrzYri0Ki1I7vbn8x\nfLVohRhiXFG7+r7u1FtPjPoNbPEFNREgkXSktcbXvgxNOwSWsSDGqiEI5eTS\n5R/MS6l56d0Aabvu5115W/dIDotz0jBY4PN4FpRBGPyVOXSxPp/wY2EX/L75\nsk36ZfMxA1HIztmSMtXbdksGYt1C0WuHHzyryhs9R0k5+r/mG30hq8aArDtu\nEfThV6UqsAyv+R3GgH81u21jwMDRJsG0jJBVifHo179q8lTGpf7gpxyZ65bo\nbKR7/BTdRzesOIoQCtcgaxgUVz2RgHzOwYnTiSOfxRplRg8m+ak5ARE2dQF1\n/oQs\r\n=V+jJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIArPYCU8FpT/YUx0TenGs8IypuOdfTS8j/jNvrqdxZ54AiEAsG/oc5vF1vsNndMREuS4R8FWJtnbDqIxOAk7lpTlVz8="}]},"_npmUser":{"name":"danielsiwiec","email":"daniel.siwiec@gmail.com"},"directories":{},"maintainers":[{"name":"danielsiwiec","email":"daniel.siwiec@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pptxgenjs_1.0.0_1611965880556_0.7994922151080395"},"_hasShrinkwrap":false}},"time":{"created":"2021-01-30T00:18:00.511Z","1.0.0":"2021-01-30T00:18:00.805Z","modified":"2022-04-05T02:41:24.875Z"},"maintainers":[{"name":"danielsiwiec","email":"daniel.siwiec@gmail.com"}],"description":"Create JavaScript PowerPoint Presentations","homepage":"https://gitbrent.github.io/PptxGenJS/","keywords":["javascript-create-powerpoint","javascript-create-pptx","javascript-generate-pptx","javascript-powerpoint","javascript-pptx","js-create-powerpoint","js-create-pptx","js-generate-powerpoint","js-powerpoint","js-powerpoint-library","js-powerpoint-pptx","react-powerpoint","typescript-powerpoint"],"repository":{"type":"git","url":"git+https://github.com/gitbrent/PptxGenJS.git"},"author":{"name":"Brent Ely","url":"https://github.com/gitbrent/"},"bugs":{"url":"https://github.com/gitbrent/PptxGenJS/issues"},"license":"MIT","readme":"<h1 align=\"center\">PptxGenJS</h1>\n<h5 align=\"center\">\n  Create JavaScript PowerPoint Presentations\n</h5>\n<p align=\"center\">\n  <a href=\"https://github.com/gitbrent/PptxGenJS/\">\n    <img alt=\"PptxGenJS Sample Slides\" title=\"PptxGenJS Sample Slides\" src=\"https://raw.githubusercontent.com/gitbrent/PptxGenJS/gh-pages/img/readme_banner.png\"/>\n  </a>\n</p>\n<br/>\n\n[![Known Vulnerabilities](https://snyk.io/test/npm/pptxgenjs/badge.svg)](https://snyk.io/test/npm/pptxgenjs) [![npm downloads](https://img.shields.io/npm/dm/pptxgenjs.svg)](https://www.npmjs.com/package/pptxgenjs) [![jsdelivr downloads](https://data.jsdelivr.com/v1/package/gh/gitbrent/pptxgenjs/badge)](https://www.jsdelivr.com/package/gh/gitbrent/pptxgenjs) [![typescripts definitions](https://img.shields.io/npm/types/pptxgenjs)](https://img.shields.io/npm/types/pptxgenjs)\n\n# Table of Contents\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n- [Introduction](#introduction)\n- [Features](#features)\n- [Live Demo](#live-demo)\n- [Installation](#installation)\n  - [CDN](#cdn)\n  - [Download](#download)\n  - [Npm](#npm)\n  - [Yarn](#yarn)\n  - [Additional Builds](#additional-builds)\n- [Documentation](#documentation)\n  - [Quick Start Guide](#quick-start-guide)\n    - [Angular/React, ES6, TypeScript](#angularreact-es6-typescript)\n    - [Script/Web Browser](#scriptweb-browser)\n  - [Library API](#library-api)\n  - [HTML-to-PowerPoint Feature](#html-to-powerpoint-feature)\n- [Library Ports](#library-ports)\n- [Issues / Suggestions](#issues--suggestions)\n- [Need Help?](#need-help)\n- [Contributors](#contributors)\n- [License](#license)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n# Introduction\n\nThis library creates Open Office XML (OOXML) Presentations which are compatible with Microsoft PowerPoint, Apple Keynote, and other applications.\n\n# Features\n\n**Extensive Support**\n\n- Generate presentations on every modern desktop & mobile web browser\n- IE11 is supported via bundle polyfill\n\n**Comprehensive Objects**\n\n- Create any object type: Charts, Images, Links, Media, Shapes, Tables, Text\n- SVG images and YouTube videos are supported when viewed in PowerPoint online/2019+ desktop application\n\n**Modern Architecture**\n\n- Supports client web browsers, NodeJS, and React/Angular/Electron\n- Export methods return promises\n- Client browsers have only a single dependency: JSZip\n- Easy Angular/React integration (available via npm, cjs or es files)\n- Typescript definitions included\n\n**HTML to PowerPoint**\n\n- Includes powerful [HTML-to-PowerPoint](#html-to-powerpoint-feature) feature to transform HTML tables into presentations with a single line of code\n\n# Live Demo\n\nUse the online demo to create a simple presentation to see how easy it is to use pptxgenjs, or check out the complete demo which showcases every available feature.\n\n- [Simple Demo](https://gitbrent.github.io/PptxGenJS)\n- [Complete Feature Demo](https://gitbrent.github.io/PptxGenJS/demo/)\n- [PptxGenJS jsFiddle](https://jsfiddle.net/gitbrent/L1uctxm0/)\n\n# Installation\n\n## CDN\n\n[jsDelivr Home](https://www.jsdelivr.com/package/gh/gitbrent/pptxgenjs)\n\nBundle: Modern Browsers and IE11\n\n```html\n<script src=\"https://cdn.jsdelivr.net/gh/gitbrent/pptxgenjs@3.4.0/dist/pptxgen.bundle.js\"></script>\n```\n\nMin files: Modern Browsers\n\n```html\n<script src=\"https://cdn.jsdelivr.net/gh/gitbrent/pptxgenjs@3.4.0/libs/jszip.min.js\"></script>\n<script src=\"https://cdn.jsdelivr.net/gh/gitbrent/pptxgenjs@3.4.0/dist/pptxgen.min.js\"></script>\n```\n\n## Download\n\n[GitHub Latest Release](https://github.com/gitbrent/PptxGenJS/releases/latest)\n\nBundle: Modern Browsers and IE11\n\n```html\n<script src=\"PptxGenJS/dist/pptxgen.bundle.js\"></script>\n```\n\nMin files: Modern Browsers\n\n```html\n<script src=\"PptxGenJS/libs/jszip.min.js\"></script>\n<script src=\"PptxGenJS/dist/pptxgen.min.js\"></script>\n```\n\n## Npm\n\n[PptxGenJS NPM Home](https://www.npmjs.com/package/pptxgenjs)\n\n```bash\nnpm install pptxgenjs --save\n```\n\n## Yarn\n\n```bash\nyarn add pptxgenjs\n```\n\n## Additional Builds\n\n- CommonJS: `dist/pptxgen.cjs.js`\n- ES Module: `dist/pptxgen.es.js`\n\n---\n\n# Documentation\n\n## Quick Start Guide\n\nPptxGenJS PowerPoint presentations are created via JavaScript by following 4 basic steps:\n\n### Angular/React, ES6, TypeScript\n\n```typescript\nimport pptxgen from \"pptxgenjs\";\n\n// 1. Create a new Presentation\nlet pres = new pptxgen();\n\n// 2. Add a Slide\nlet slide = pres.addSlide();\n\n// 3. Add one or more objects (Tables, Shapes, Images, Text and Media) to the Slide\nlet textboxText = \"Hello World from PptxGenJS!\";\nlet textboxOpts = { x: 1, y: 1, color: \"363636\" };\nslide.addText(textboxText, textboxOpts);\n\n// 4. Save the Presentation\npres.writeFile();\n```\n\n### Script/Web Browser\n\n```javascript\n// 1. Create a new Presentation\nlet pres = new PptxGenJS();\n\n// 2. Add a Slide\nlet slide = pres.addSlide();\n\n// 3. Add one or more objects (Tables, Shapes, Images, Text and Media) to the Slide\nlet textboxText = \"Hello World from PptxGenJS!\";\nlet textboxOpts = { x: 1, y: 1, color: \"363636\" };\nslide.addText(textboxText, textboxOpts);\n\n// 4. Save the Presentation\npres.writeFile();\n```\n\nThat's really all there is to it!\n\n---\n\n## Library API\n\nFull documentation and code examples are available\n\n- [Creating a Presentation](https://gitbrent.github.io/PptxGenJS/docs/usage-pres-create.html)\n- [Presentation Options](https://gitbrent.github.io/PptxGenJS/docs/usage-pres-options.html)\n- [Adding a Slide](https://gitbrent.github.io/PptxGenJS/docs/usage-add-slide.html)\n- [Slide Options](https://gitbrent.github.io/PptxGenJS/docs/usage-slide-options.html)\n- [Saving a Presentation](https://gitbrent.github.io/PptxGenJS/docs/usage-saving.html)\n- [Master Slides](https://gitbrent.github.io/PptxGenJS/docs/masters.html)\n- [Adding Charts](https://gitbrent.github.io/PptxGenJS/docs/api-charts.html)\n- [Adding Images](https://gitbrent.github.io/PptxGenJS/docs/api-images.html)\n- [Adding Media](https://gitbrent.github.io/PptxGenJS/docs/api-media.html)\n- [Adding Shapes](https://gitbrent.github.io/PptxGenJS/docs/api-shapes.html)\n- [Adding Tables](https://gitbrent.github.io/PptxGenJS/docs/api-tables.html)\n- [Adding Text](https://gitbrent.github.io/PptxGenJS/docs/api-text.html)\n- [Speaker Notes](https://gitbrent.github.io/PptxGenJS/docs/speaker-notes.html)\n- [Using Scheme Colors](https://gitbrent.github.io/PptxGenJS/docs/shapes-and-schemes.html)\n- [Integration with Other Libraries](https://gitbrent.github.io/PptxGenJS/docs/integration.html)\n\n---\n\n## HTML-to-PowerPoint Feature\n\nEasily convert HTML tables to PowerPoint presentations in a single call.\n\n```javascript\nlet pptx = new PptxGenJS();\npptx.tableToSlides(\"tableElementId\");\npptx.writeFile();\n```\n\nLearn more:\n\n- [HTML-to-PowerPoint Documentation](https://gitbrent.github.io/PptxGenJS/docs/html-to-powerpoint.html)\n- [Online HTML-to-PowerPoint Demo](https://gitbrent.github.io/PptxGenJS/demo/#html2pptx)\n\n---\n\n# Library Ports\n\nReact: [react-pptx](https://github.com/wyozi/react-pptx) - thanks to [Joonas](https://github.com/wyozi)!\n\n---\n\n# Issues / Suggestions\n\nPlease file issues or suggestions on the [issues page on github](https://github.com/gitbrent/PptxGenJS/issues/new), or even better, [submit a pull request](https://github.com/gitbrent/PptxGenJS/pulls). Feedback is always welcome!\n\nWhen reporting issues, please include a code snippet or a link demonstrating the problem.\nHere is a small [jsFiddle](https://jsfiddle.net/gitbrent/L1uctxm0/) that is already configured and uses the latest PptxGenJS code.\n\n---\n\n# Need Help?\n\nSometimes implementing a new library can be a difficult task and the slightest mistake will keep something from working. We've all been there!\n\nIf you are having issues getting a presentation to generate, check out the code in the `demos` directory. There\nare demos for both client browsers, node and react that contain working examples of every available library feature.\n\n- Use a pre-configured jsFiddle to test with: [PptxGenJS Fiddle](https://jsfiddle.net/gitbrent/L1uctxm0/)\n- [View questions tagged `PptxGenJS` on StackOverflow](https://stackoverflow.com/questions/tagged/pptxgenjs?sort=votes&pageSize=50). If you can't find your question, [ask it yourself](https://stackoverflow.com/questions/ask?tags=PptxGenJS) - be sure to tag it `PptxGenJS`.\n\n---\n\n# Contributors\n\nThank you to everyone for the issues, contributions and suggestions! ❤️\n\nSpecial Thanks:\n\n- [Dzmitry Dulko](https://github.com/DzmitryDulko) - Getting the project published on NPM\n- [Michal Kacerovský](https://github.com/kajda90) - New Master Slide Layouts and Chart expertise\n- [Connor Bowman](https://github.com/conbow) - Adding Placeholders\n- [Reima Frgos](https://github.com/ReimaFrgos) - Multiple chart and general functionality patches\n- [Matt King](https://github.com/kyrrigle) - Chart expertise\n- [Mike Wilcox](https://github.com/clubajax) - Chart expertise\n- [Joonas](https://github.com/wyozi) - React port\n\nPowerPoint shape definitions and some XML code via [Officegen Project](https://github.com/Ziv-Barber/officegen)\n\n---\n\n# License\n\nCopyright &copy; 2015-2020 [Brent Ely](https://github.com/gitbrent/PptxGenJS)\n\n[MIT](https://github.com/gitbrent/PptxGenJS/blob/master/LICENSE)\n","readmeFilename":"README.md"}