pptxto.txt

Convert your PPTX to TXT

Usage no npm install needed!

<script type="module">
  import pptxtoTxt from 'https://cdn.skypack.dev/pptxto.txt';
</script>

README

📄 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