elwerene / libreoffice-convert

MIT License
241 stars 94 forks source link

Hard to reproduce the readme #118

Closed pjerryhu closed 3 weeks ago

pjerryhu commented 2 months ago

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);
elwerene commented 3 weeks ago

@pjerryhu https://nodejs.org/dist/latest-v8.x/docs/api/util.html#util_util_promisify_original

pjerryhu commented 3 weeks ago

Thanks @elwerene !