1.0.3 • Published 3 years ago

pptxto.txt v1.0.3

Weekly downloads
11
License
MIT
Repository
github
Last release
3 years ago

📄 pptxto.txt

A text extraction node module, that can convert pptx and ppt file formats into pure text.

NPM

version downloads

Install

npm i pptxto.txt

Usage

Import

var pptxtotxt = require("pptxto.txt");

APIs

URL

When passing a URL, the URL can either be a string, or a node.js URL object. Using the URL object allows fine grained control over the URL being used.

pptxtotxt.fromUrl(url, function (error, text) {});
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