libreoffice-convert
libreoffice-convert copied to clipboard
Hey, I'm having trouble reproducing the readme example. Specifically, I use typescript, and cannot seem to find where the util is from by line ``` libre.convertAsync = require('util').promisify(libre.convert); ```
I'm executing this code: ``` const convertAsync = util.promisify(libre.convert); export async function convertHTMLToWord(file: string) { try { const extension = '.docx'; const inputPath = `${__dirname}/example.html`; const outputPath = `${__dirname}/example${extension}`; await...
Would you be open to supporting promises vs. callbacks? I realize there are many considerations including API backward compatibility. I would be happy to contribute an async approach if this...
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3. Commits 74b2db2 3.0.3 88f1429 update eslint. lint, fix unit tests. 415d660 Snyk js braces 6838727 (#40) 190510f fix tests, skip 1 test in test/braces.expand...
Bumps [ws](https://github.com/websockets/ws) from 7.5.7 to 7.5.10. Release notes Sourced from ws's releases. 7.5.10 Bug fixes Backported e55e5106 to the 7.x release line (22c28763). 7.5.9 Bug fixes Backported bc8bd34e to the...
I am using the basic code which is mentioned here - https://www.npmjs.com/package/libreoffice-convert ``` const path = require('path'); const fs = require('fs').promises; const libre = require('libreoffice-convert'); libre.convertAsync = require('util').promisify(libre.convert); async function...
Bumps [micromatch](https://github.com/micromatch/micromatch) from 4.0.5 to 4.0.8. Release notes Sourced from micromatch's releases. 4.0.8 Ultimate release that fixes both CVE-2024-4067 and CVE-2024-4068. We consider the issues low-priority, so even if you...