EditMyPDF catalog CLI
The CLI reads the public REST endpoints and prints JSON. It requires Node.js 20 or later and no API key.
Run from a checkout
Run these commands from the root of the EditMyPDF repository.
npx --yes --package=./packages/editmypdf-catalog editmypdf-catalog search --query merge --limit 3
node packages/editmypdf-catalog/cli.mjs get merge
node packages/editmypdf-catalog/cli.mjs summaryThe CLI uses https://editmypdf.co.in by default. Set EDITMYPDF_API_URL to your local origin when testing a development build. Successful responses go to standard output as JSON.