Skip to content

85 MB LibreOffice to fit inside Google Cloud Functions compressed with Brotli

License

Notifications You must be signed in to change notification settings

vially/cloud-functions-libreoffice

 
 

Repository files navigation

aws-lambda-libreoffice

85 MB LibreOffice to fit inside AWS Lambda compressed with Brotli

Inspired by chrome-aws-lambda

Install

$ yarn add aws-lambda-libreoffice

Usage

const {getExecutablePath, defaultArgs} = require('aws-lambda-libreoffice');

const loBinary = await getExecutablePath(); // /tmp/instdir/program/soffice

execSync(`${loBinary} ${defaultArgs.join(' ')} --convert-to pdf file.docx --outdir /tmp`)

License

MIT © Vlad Holubiev

About

85 MB LibreOffice to fit inside Google Cloud Functions compressed with Brotli

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%