How to restrict the number of pages loaded by PDF Express Viewer

Which product are you using?
PDF.js Express Viewer

PDF.js Express Version

Detailed description of issue
We want to implement a PDF Viewer to view the documents on the app. but on some instances we want to show only the first few pages of the pdf. So is there any way we can pass the page number limit, like numPages in PDF.js.

Expected behaviour
We want to show only few pages in the pdf.

Does your issue happen with every document, or just one?
Every Document

Link to document
https://firebasestorage.googleapis.com/v0/b/cynohub-v3.appspot.com/o/PDFUniversityNotes%2FFirst%20Year%2FJNTUH%2FBEE%2FOne%20BEE.pdf?alt=media&token=c0f0ef1b-94a1-49c2-b87a-d902c6c43233

Code snippet
{Provide a relevant code snippet}

Hello, I’m Ron, an automated tech support bot :robot:

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:

Guides:APIs:Forums:

Hi there,

Unfortunately we do not support this functionality at the moment.

Thanks
Logan