Closed Sparticuz closed 1 year ago
For now, I just left it as the string that qpdf returns. For an unencrypted file, the result will be 'File is not encrypted'.
(await info(filePath)) === "File is not encrypted"
should give you a boolean
Awesome that works great, thank you
Fixes #30