If you would like to manipulate pages in ways such as rotating, cropping, reordering, adding, and deleting pages, PDFTron’s WebViewer can perform these actions directly in the browser, in memory by modifying the PDF.
PDFTron’s WebViewer uses PDFTron’s proprietary rendering engine, without reliance on open-source technologies and allows for more advanced capabilities like manipulating pages directly in a browser.
Please follow the guide to migrate from PDF.js Express to PDFTron’s WebViewer.
Once you have PDFTron’s WebViewer up and running you can reference the guide for page manipulation options.