This package makes it possible to use libreoffice from a Firebase function
Inspired by https://github.com/vladgolubev/serverless-libreoffice
Binary from https://github.com/vladgolubev/serverless-libreoffice/releases/tag/v6.4.0.1
npm i libreoffice-firebase
import convertToPdf from 'libreoffice-firebase'
try {
const pdf = await convertToPdf('./test.docx')
console.log(pdf)
} catch (error) {
console.error(error)
}