For command-line usage, install the package globally: CDN Options: https://www.jsdelivr.com/package/npm/pdf-parse https://cdn.jsdelivr.net/npm/pdf-parse@latest/dist ...
This repository offers an WebUI and API endpoint that translates PDF files using openai GPT, preserving the original layout.