libreoffice-firebase
v1.0.2
Published
This package makes it possible to use libreoffice from a Firebase function
Downloads
5
Readme
libreoffice-firebase
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
Installation
npm i libreoffice-firebase
Usage
import convertToPdf from 'libreoffice-firebase'
try {
const pdf = await convertToPdf('./test.docx')
console.log(pdf)
} catch (error) {
console.error(error)
}