https://github.com/moneyinto/ppt-parse
封装的解析pptx的依赖包
https://github.com/moneyinto/ppt-parse
javascript nodejs parse parser sdk
Last synced: 7 months ago
JSON representation
封装的解析pptx的依赖包
- Host: GitHub
- URL: https://github.com/moneyinto/ppt-parse
- Owner: moneyinto
- Created: 2022-01-17T10:49:44.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-08-17T01:36:24.000Z (over 3 years ago)
- Last Synced: 2025-05-21T20:54:00.764Z (9 months ago)
- Topics: javascript, nodejs, parse, parser, sdk
- Language: C++
- Homepage: https://www.npmjs.com/package/ppt-parse
- Size: 85 MB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## pptx解析工具
```js
const PPT2JsonSdk = require("ppt-parse");
const sdk = new PPT2JsonSdk();
const pptPath = ""; // ppt所在路径
const outputPath = ""; // 资源文件输出路径
const parse = async () => {
const result = await sdk.parse(pptPath, outputPath);
console.log(result); // 解析的PPT的json数据
return result;
}
```
[【参考】djwxfdt 的 ppt-parse](https://github.com/djwxfdt/ppt-parse)
【注】由于原先的版本不支持node 12以上版本 重新修改升级支持node 14版本,并且解析的数据格式不是我想要的,重新进行了整理