# pdfTool
**Repository Path**: wintsa/pdf-tool
## Basic Information
- **Project Name**: pdfTool
- **Description**: nodejs的一个pdf工具箱,用来转图片、word、excel等等,在国外网站看到的包,但npm没有,就装载了。
原地址https://docs.aspose.com/pdf/nodejs-cpp/extract-tables-from-the-pdf-file/
使用方法看用example
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2024-03-07
- **Last Updated**: 2025-12-18
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# PdfTool
转载国外的AsposePdf工具包,我只是负责封装起来了.
该工具包可以转换pdf文件为excel、png、word、等等
[![Contributors][contributors-shield]][contributors-url]
[![Forks][forks-shield]][forks-url]
[![Stargazers][stars-shield]][stars-url]
[![Issues][issues-shield]][issues-url]
[![MIT License][license-shield]][license-url]
[![LinkedIn][linkedin-shield]][linkedin-url]
PdfTool in Nodejs
探索本项目的文档 »
查看Demo
·
报告Bug
·
提出新特性
本篇README.md面向开发者
###### **运行步骤**
```sh
npm install @wintsa/pdftool
or
yarn add @wintsa/pdftool
import AsposePdfModule from "@wintsa/pdftool";
const pdfTool = await AsposePdfModule()
const pdf_file = 'src/xxxx.pdf';
const json = pdfTool.AsposePdfToXlsX(pdf_file, "ResultPDFtoXlsX.xlsx");
console.log(json)
console.log("AsposePdfToXlsX => %O", json.errorCode == 0 ? json.fileNameResult : json.errorText);
```
### 开发的架构
请阅读[ARCHITECTURE.md](https://github.com/wintsa/pdfTool/blob/master/ARCHITECTURE.md) 查阅为该项目的架构。
### 部署
暂无
### 贡献者
请阅读**CONTRIBUTING.md** 查阅为该项目做出贡献的开发者。
#### 如何参与开源项目
贡献使开源社区成为一个学习、激励和创造的绝佳场所。你所作的任何贡献都是**非常感谢**的。
1. Fork the Project
2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)
3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)
4. Push to the Branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request
### 版本控制
该项目使用Git进行版本管理。您可以在repository参看当前可用版本。
### 作者
wintsa
知乎:xxxx qq:xxxxxx
*您也可以在贡献者名单中参看所有参与该项目的开发者。*
### 版权说明
该项目签署了MIT 授权许可,详情请参阅 [LICENSE.txt](https://github.com/wintsa/pdfTool/blob/master/LICENSE.txt)
### 鸣谢
[your-project-path]:wintsa/pdfTool
[contributors-shield]: https://img.shields.io/github/contributors/wintsa/pdfTool.svg?style=flat-square
[contributors-url]: https://github.com/wintsa/pdfTool/graphs/contributors
[forks-shield]: https://img.shields.io/github/forks/wintsa/pdfTool.svg?style=flat-square
[forks-url]: https://github.com/wintsa/pdfTool/network/members
[stars-shield]: https://img.shields.io/github/stars/wintsa/pdfTool.svg?style=flat-square
[stars-url]: https://github.com/wintsa/pdfTool/stargazers
[issues-shield]: https://img.shields.io/github/issues/wintsa/pdfTool.svg?style=flat-square
[issues-url]: https://img.shields.io/github/issues/wintsa/pdfTool.svg
[license-shield]: https://img.shields.io/github/license/wintsa/pdfTool.svg?style=flat-square
[license-url]: https://github.com/wintsa/pdfTool/blob/master/LICENSE.txt
[linkedin-shield]: https://img.shields.io/badge/-LinkedIn-black.svg?style=flat-square&logo=linkedin&colorB=555
[linkedin-url]: https://linkedin.com/in/wintsa