Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dulajkavinda/pptxto.txt
📄 A text extraction node module, thtat can convert pptx and ppt file formats into pure text.
https://github.com/dulajkavinda/pptxto.txt
nodejs npm npm-package open-source parser ppt pptx pptxtotxt
Last synced: 13 days ago
JSON representation
📄 A text extraction node module, thtat can convert pptx and ppt file formats into pure text.
- Host: GitHub
- URL: https://github.com/dulajkavinda/pptxto.txt
- Owner: dulajkavinda
- License: mit
- Created: 2021-01-14T22:57:46.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-01-15T04:25:22.000Z (almost 4 years ago)
- Last Synced: 2024-10-12T15:29:41.382Z (27 days ago)
- Topics: nodejs, npm, npm-package, open-source, parser, ppt, pptx, pptxtotxt
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/pptxto.txt
- Size: 6.21 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 📄 pptxto.txt
A text extraction node module, that can convert pptx and ppt file formats into pure text.
[![NPM](https://nodei.co/npm/pptxto.txt.png?compact=true)](https://nodei.co/npm/pptxto.txt/)
[![version](https://img.shields.io/npm/v/pptxto.txt.svg)](https://www.npmjs.org/package/pptxto.txt)
[![downloads](https://img.shields.io/npm/dt/pptxto.txt.svg)](https://www.npmjs.org/package/pptxto.txt)## Install
```bash
npm i pptxto.txt
```## Usage
#### Import
```javascript
var pptxtotxt = require("pptxto.txt");
```#### APIs
##### URL
When passing a URL, the URL can either be a string, or a [node.js URL object](https://nodejs.org/api/url.html). Using the URL object allows fine grained control over the URL being used.
```javascript
pptxtotxt.fromUrl(url, function (error, text) {});
``````javascript
pptxtotxt.fromUrl(url, config, function (error, text) {});
```As the result you will recieve a array, which includes all the extracted text from the pptx. You can access each slide by specifying the index of the result array.
## License
[MIT](https://github.com/dulajkavinda/pptxto.txt/blob/master/LICENSE)