JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1924
  • Score
    100M100P100Q107855F
  • License ISC

Package Exports

  • pptx2pdf

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (pptx2pdf) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

pptx2pdf

Converts pptx (*.pptx, *.ppt, *.odp) to pdf and/or png.

# install globally to use on the command-line
npm install -g pptx2pdf

# install locally to use a library
npm install --save pptx2pdf

command-line

pptx2png 

Inspiration

I needed convert PowerPoint into pdf or pdf. I found the following projects:

Both require unoconv and LibreOffice (or OpenOffice) however it doesn't work. I assume it was because of a older version of unoconv/libreoffice. The newest version libreoffice didn't version work in either project. However, the latest version of libreoffice can convert to pdf on the command-line.

e.g.:

libreoffice --headless \
--invisible \
--convert-to pdf \
--outdir <outputDir> \
inputPath