micro-office-converter:使用LibreOffice转换Office文档的微服务

时间:2021-04-29 08:07:46
【文件属性】:
文件名称:micro-office-converter:使用LibreOffice转换Office文档的微服务
文件大小:64KB
文件格式:ZIP
更新时间:2021-04-29 08:07:46
JavaScript 微型办公转换器 使用LibreOffice转换Office文档的微服务 $ curl --form file=@myfile.docx http://localhost/convert/pdf > myfile.pdf 如果您转换生成多个文件的文件(例如带有图像直到html的docx),它将返回包含所有文件的zip文件。 $ curl --form file=@myfile-with-image.docx http://localhost/convert/html > myfile.zip 码头工人 使用预构建映像 $ docker run -d -p 80:3000 --name micro-office-converter alheimsins/micro-office-converter 自己建造 $ docker build -t micro-office-converter
【文件预览】:
micro-office-converter-main
----.gitignore(943B)
----Dockerfile(321B)
----package.json(2KB)
----package-lock.json(203KB)
----.dockerignore(12B)
----.travis.yml(72B)
----index.js(528B)
----README.md(1KB)
----lib()
--------get-libre-path.js(951B)
--------create-directories.js(339B)
--------handler.js(2KB)
--------convert.js(498B)
--------cleanup.js(357B)
----renovate.json(62B)
----test()
--------dependencies-test.js(608B)

网友评论