쿠콘 문의사항 추가
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
21
plan/node_modules/pptxgenjs/LICENSE
generated
vendored
Normal file
21
plan/node_modules/pptxgenjs/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2015-2022 Brent Ely
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
224
plan/node_modules/pptxgenjs/README.md
generated
vendored
Normal file
224
plan/node_modules/pptxgenjs/README.md
generated
vendored
Normal file
@@ -0,0 +1,224 @@
|
||||
# PptxGenJS
|
||||
|
||||

|
||||
|
||||

|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
## 🚀 Features
|
||||
|
||||
**PptxGenJS lets you generate professional PowerPoint presentations in JavaScript - directly from Node, React, Vite, Electron, or even the browser.**
|
||||
The library outputs standards-compliant Open Office XML (OOXML) files compatible with:
|
||||
|
||||
- ✅ Microsoft PowerPoint
|
||||
- ✅ Apple Keynote
|
||||
- ✅ LibreOffice Impress
|
||||
- ✅ Google Slides (via import)
|
||||
|
||||
Design custom slides, charts, images, tables, and templates programmatically - no PowerPoint install or license required.
|
||||
|
||||
### Works Everywhere
|
||||
|
||||
- Supports every major modern browser - desktop and mobile
|
||||
- Seamlessly integrates with **Node.js**, **React**, **Angular**, **Vite**, and **Electron**
|
||||
- Compatible with **PowerPoint**, **Keynote**, **LibreOffice**, and other OOXML apps
|
||||
|
||||
### Full-Featured
|
||||
|
||||
- Create all major slide objects: **text, tables, shapes, images, charts**, and more
|
||||
- Define custom **Slide Masters** for consistent academic or corporate branding
|
||||
- Supports **SVGs**, **animated GIFs**, **YouTube embeds**, **RTL text**, and **Asian fonts**
|
||||
|
||||
### Simple & Powerful
|
||||
|
||||
- Ridiculously easy to use - create a presentation in 4 lines of code
|
||||
- Full **TypeScript definitions** for autocomplete and inline documentation
|
||||
- Includes **75+ demo slides** covering every feature and usage pattern
|
||||
|
||||
### Export Your Way
|
||||
|
||||
- Instantly download `.pptx` files from the browser with proper MIME handling
|
||||
- Export as **base64**, **Blob**, **Buffer**, or **Node stream**
|
||||
- Supports compression and advanced output options for production use
|
||||
|
||||
### HTML to PowerPoint Magic
|
||||
|
||||
- Convert any HTML `<table>` to one or more slides with a single line of code → [Explore the HTML-to-PPTX feature](#html-to-powerpoint-magic)
|
||||
|
||||
## 🌐 Live Demos
|
||||
|
||||
Try PptxGenJS right in your browser - no setup required.
|
||||
|
||||
- [Basic Slide Demo](https://gitbrent.github.io/PptxGenJS/demos/) - Build a basic presentation in seconds
|
||||
- [Full Feature Showcase](https://gitbrent.github.io/PptxGenJS/demo/browser/index.html) - Explore every available feature
|
||||
|
||||
> Perfect for testing compatibility or learning by example - all demos run 100% in the browser.
|
||||
|
||||
## 📦 Installation
|
||||
|
||||
Choose your preferred method to install **PptxGenJS**:
|
||||
|
||||
### Quick Install (Node-based)
|
||||
|
||||
```bash
|
||||
npm install pptxgenjs
|
||||
```
|
||||
|
||||
```bash
|
||||
yarn add pptxgenjs
|
||||
```
|
||||
|
||||
### CDN (Browser Usage)
|
||||
|
||||
Use the bundled or minified version via [jsDelivr](https://www.jsdelivr.com/package/gh/gitbrent/pptxgenjs):
|
||||
|
||||
```html
|
||||
<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
|
||||
|
||||
Download from GitHub: [Latest Release](https://github.com/gitbrent/PptxGenJS/releases/latest)
|
||||
|
||||
```html
|
||||
<script src="PptxGenJS/libs/jszip.min.js"></script>
|
||||
<script src="PptxGenJS/dist/pptxgen.min.js"></script>
|
||||
```
|
||||
|
||||
## 🚀 Universal Compatibility
|
||||
|
||||
PptxGenJS works seamlessly in **modern web and Node environments**, thanks to dual ESM and CJS builds and zero runtime dependencies. Whether you're building a CLI tool, an Electron app, or a web-based presentation builder, the library adapts automatically to your stack.
|
||||
|
||||
### Supported Platforms
|
||||
|
||||
- **Node.js** – generate presentations in backend scripts, APIs, or CLI tools
|
||||
- **React / Angular / Vite / Webpack** – just import and go, no config required
|
||||
- **Electron** – build native apps with full filesystem access and PowerPoint output
|
||||
- **Browser (Vanilla JS)** – embed in web apps with direct download support
|
||||
- **Serverless / Edge Functions** – use in AWS Lambda, Vercel, Cloudflare Workers, etc.
|
||||
|
||||
> _Vite, Webpack, and modern bundlers automatically select the right build via the `exports` field in `package.json`._
|
||||
|
||||
### Builds Provided
|
||||
|
||||
- **CommonJS**: [`dist/pptxgen.cjs.js`](./dist/pptxgen.cjs.js)
|
||||
- **ES Module**: [`dist/pptxgen.es.js`](./dist/pptxgen.es.js)
|
||||
|
||||
## 📖 Documentation
|
||||
|
||||
### Quick Start Guide
|
||||
|
||||
PptxGenJS PowerPoint presentations are created via JavaScript by following 4 basic steps:
|
||||
|
||||
#### Angular/React, ES6, TypeScript
|
||||
|
||||
```typescript
|
||||
import pptxgen from "pptxgenjs";
|
||||
|
||||
// 1. Create a new Presentation
|
||||
let pres = new pptxgen();
|
||||
|
||||
// 2. Add a Slide
|
||||
let slide = pres.addSlide();
|
||||
|
||||
// 3. Add one or more objects (Tables, Shapes, Images, Text and Media) to the Slide
|
||||
let textboxText = "Hello World from PptxGenJS!";
|
||||
let textboxOpts = { x: 1, y: 1, color: "363636" };
|
||||
slide.addText(textboxText, textboxOpts);
|
||||
|
||||
// 4. Save the Presentation
|
||||
pres.writeFile();
|
||||
```
|
||||
|
||||
#### Script/Web Browser
|
||||
|
||||
```javascript
|
||||
// 1. Create a new Presentation
|
||||
let pres = new PptxGenJS();
|
||||
|
||||
// 2. Add a Slide
|
||||
let slide = pres.addSlide();
|
||||
|
||||
// 3. Add one or more objects (Tables, Shapes, Images, Text and Media) to the Slide
|
||||
let textboxText = "Hello World from PptxGenJS!";
|
||||
let textboxOpts = { x: 1, y: 1, color: "363636" };
|
||||
slide.addText(textboxText, textboxOpts);
|
||||
|
||||
// 4. Save the Presentation
|
||||
pres.writeFile();
|
||||
```
|
||||
|
||||
That's really all there is to it!
|
||||
|
||||
## 💥 HTML-to-PowerPoint Magic
|
||||
|
||||
Convert any HTML `<table>` into fully formatted PowerPoint slides - automatically and effortlessly.
|
||||
|
||||
```javascript
|
||||
let pptx = new pptxgen();
|
||||
pptx.tableToSlides("tableElementId");
|
||||
pptx.writeFile({ fileName: "html2pptx-demo.pptx" });
|
||||
```
|
||||
|
||||
Perfect for transforming:
|
||||
|
||||
- Dynamic dashboards and data reports
|
||||
- Exportable grids in web apps
|
||||
- Tabular content from CMS or BI tools
|
||||
|
||||
[View Full Docs & Live Demo](https://gitbrent.github.io/PptxGenJS/html2pptx/)
|
||||
|
||||
## 📚 Full Documentation
|
||||
|
||||
Complete API reference, tutorials, and integration guides are available on the official docs site: [https://gitbrent.github.io/PptxGenJS](https://gitbrent.github.io/PptxGenJS)
|
||||
|
||||
## 🛠️ Issues / Suggestions
|
||||
|
||||
Please 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!
|
||||
|
||||
When reporting issues, please include a code snippet or a link demonstrating the problem.
|
||||
Here is a small [jsFiddle](https://jsfiddle.net/gitbrent/L1uctxm0/) that is already configured and uses the latest PptxGenJS code.
|
||||
|
||||
## 🆘 Need Help?
|
||||
|
||||
Sometimes implementing a new library can be a difficult task and the slightest mistake will keep something from working. We've all been there!
|
||||
|
||||
If you are having issues getting a presentation to generate, check out the code in the `demos` directory. There
|
||||
are demos for browser, node and, react that contain working examples of every available library feature.
|
||||
|
||||
- Use a pre-configured jsFiddle to test with: [PptxGenJS Fiddle](https://jsfiddle.net/gitbrent/L1uctxm0/)
|
||||
- [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`.
|
||||
- Ask your AI pair programmer! All major LLMs have ingested the pptxgenjs library and have the ability to answer functionality questions and provide code.
|
||||
|
||||
## 🙏 Contributors
|
||||
|
||||
Thank you to everyone for the contributions and suggestions! ❤️
|
||||
|
||||
Special Thanks:
|
||||
|
||||
- [Dzmitry Dulko](https://github.com/DzmitryDulko) - Getting the project published on NPM
|
||||
- [Michal Kacerovský](https://github.com/kajda90) - New Master Slide Layouts and Chart expertise
|
||||
- [Connor Bowman](https://github.com/conbow) - Adding Placeholders
|
||||
- [Reima Frgos](https://github.com/ReimaFrgos) - Multiple chart and general functionality patches
|
||||
- [Matt King](https://github.com/kyrrigle) - Chart expertise
|
||||
- [Mike Wilcox](https://github.com/clubajax) - Chart expertise
|
||||
- [Joonas](https://github.com/wyozi) - [react-pptx](https://github.com/wyozi/react-pptx)
|
||||
|
||||
PowerPoint shape definitions and some XML code via [Officegen Project](https://github.com/Ziv-Barber/officegen)
|
||||
|
||||
## 🌟 Support the Open Source Community
|
||||
|
||||
If you find this library useful, consider contributing to open-source projects, or sharing your knowledge on the open social web. Together, we can build free tools and resources that empower everyone.
|
||||
|
||||
[@gitbrent@fosstodon.org](https://fosstodon.org/@gitbrent)
|
||||
|
||||
## 📜 License
|
||||
|
||||
Copyright © 2015-present [Brent Ely](https://github.com/gitbrent/)
|
||||
|
||||
[MIT](https://github.com/gitbrent/PptxGenJS/blob/master/LICENSE)
|
||||
96
plan/node_modules/pptxgenjs/dist/pptxgen.bundle.js
generated
vendored
Normal file
96
plan/node_modules/pptxgenjs/dist/pptxgen.bundle.js
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
1
plan/node_modules/pptxgenjs/dist/pptxgen.bundle.js.map
generated
vendored
Normal file
1
plan/node_modules/pptxgenjs/dist/pptxgen.bundle.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
7370
plan/node_modules/pptxgenjs/dist/pptxgen.cjs.js
generated
vendored
Normal file
7370
plan/node_modules/pptxgenjs/dist/pptxgen.cjs.js
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
7368
plan/node_modules/pptxgenjs/dist/pptxgen.es.js
generated
vendored
Normal file
7368
plan/node_modules/pptxgenjs/dist/pptxgen.es.js
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
96
plan/node_modules/pptxgenjs/dist/pptxgen.min.js
generated
vendored
Normal file
96
plan/node_modules/pptxgenjs/dist/pptxgen.min.js
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
1
plan/node_modules/pptxgenjs/dist/pptxgen.min.js.map
generated
vendored
Normal file
1
plan/node_modules/pptxgenjs/dist/pptxgen.min.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
96
plan/node_modules/pptxgenjs/package.json
generated
vendored
Normal file
96
plan/node_modules/pptxgenjs/package.json
generated
vendored
Normal file
@@ -0,0 +1,96 @@
|
||||
{
|
||||
"name": "pptxgenjs",
|
||||
"version": "4.0.1",
|
||||
"author": {
|
||||
"name": "Brent Ely",
|
||||
"url": "https://github.com/gitbrent/"
|
||||
},
|
||||
"description": "Create JavaScript PowerPoint Presentations",
|
||||
"homepage": "https://gitbrent.github.io/PptxGenJS/",
|
||||
"license": "MIT",
|
||||
"exports": {
|
||||
"types": "./types/index.d.ts",
|
||||
"import": "./dist/pptxgen.es.js",
|
||||
"require": "./dist/pptxgen.cjs.js"
|
||||
},
|
||||
"main": "dist/pptxgen.cjs.js",
|
||||
"module": "dist/pptxgen.es.js",
|
||||
"files": [
|
||||
"dist",
|
||||
"types"
|
||||
],
|
||||
"types": "types",
|
||||
"scripts": {
|
||||
"build": "rollup -c --bundleConfigAsCjs",
|
||||
"start": "gulp",
|
||||
"ship": "gulp ship",
|
||||
"defs": "gulp reactTestDefs",
|
||||
"watch": "rollup -cw"
|
||||
},
|
||||
"browser": {
|
||||
"express": false,
|
||||
"fs": false,
|
||||
"https": false,
|
||||
"image-size": false,
|
||||
"node:fs": false,
|
||||
"node:https": false,
|
||||
"os": false,
|
||||
"path": false
|
||||
},
|
||||
"dependencies": {
|
||||
"@types/node": "^22.8.1",
|
||||
"https": "^1.0.0",
|
||||
"image-size": "^1.2.1",
|
||||
"jszip": "^3.10.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@eslint/js": "^9.25.1",
|
||||
"@rollup/plugin-commonjs": "^28.0.1",
|
||||
"@rollup/plugin-node-resolve": "^16.0.1",
|
||||
"@stylistic/eslint-plugin": "^4.2.0",
|
||||
"@typescript-eslint/eslint-plugin": "^8.31.0",
|
||||
"@typescript-eslint/parser": "^8.31.0",
|
||||
"eslint": "^9.25.1",
|
||||
"express": "^5.1.0",
|
||||
"gulp": "^5.0.0",
|
||||
"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": "^4.24.2",
|
||||
"rollup-plugin-typescript2": "^0.36.0",
|
||||
"tslib": "^2.8.0",
|
||||
"typescript": "^5.6.3",
|
||||
"typescript-eslint": "^8.31.0"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/gitbrent/PptxGenJS.git"
|
||||
},
|
||||
"keywords": [
|
||||
"es6-powerpoint",
|
||||
"html-to-powerpoint",
|
||||
"javascript-create-powerpoint",
|
||||
"javascript-create-pptx",
|
||||
"javascript-generate-pptx",
|
||||
"javascript-powerpoint",
|
||||
"javascript-powerpoint-charts",
|
||||
"javascript-pptx",
|
||||
"js-create-powerpoint",
|
||||
"js-create-pptx",
|
||||
"js-generate-powerpoint",
|
||||
"js-powerpoint",
|
||||
"js-powerpoint-library",
|
||||
"js-powerpoint-pptx",
|
||||
"node-powerpoint",
|
||||
"officejs-alternative",
|
||||
"react-powerpoint",
|
||||
"slide-generator",
|
||||
"typescript-powerpoint"
|
||||
],
|
||||
"bugs": {
|
||||
"url": "https://github.com/gitbrent/PptxGenJS/issues"
|
||||
}
|
||||
}
|
||||
2679
plan/node_modules/pptxgenjs/types/index.d.ts
generated
vendored
Normal file
2679
plan/node_modules/pptxgenjs/types/index.d.ts
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user