PDFs
Enhance PDFs with Paged.js
Enhance PDFs into beautifully paginated documents with Paged.js.
Was this page helpful?
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Enhance PDFs into beautifully paginated documents with Paged.js.
curl --request POST 'https://api.doczilla.app/v1/pdf' \
--header 'Authorization: Bearer <your token>' \
--header 'Content-Type: application/json' \
--output 'doczilla.pdf' \
--data '{
"page": {
"url": "https://doczilla-app.github.io/paged.js-example/"
},
"pdf": {
"format": "a4"
}
}'
import Doczilla from '@doczilla/node'
const doczilla = new Doczilla('<your token>')
const pdf = await doczilla.pdf.direct({
page: {
url: 'https://doczilla-app.github.io/paged.js-example/'
},
pdf: {
format: 'a4'
}
})
Was this page helpful?