/doc-to-pdf

Small cute document to pdf converter. Depends LibreOffice

Primary LanguageJavaScript

doc-to-pdf

This package generate PDF files from documents.
Need LibreOffice installed.

Tested:

  • doc
  • docx
  • ppt
  • pptx
  • pdf
  • xls
  • rtfodt
  • odp

Install

yarn add doc-to-pdf

Usage

const P = require('doc-to-pdf')

(async start() {
  await P('./demo.pptx')
})()

Cheers.

Çağatay.