blackbeam / poppler-simple

A simple javascript interface to poppler library
Apache License 2.0
37 stars 14 forks source link

Extracting page-index #24

Closed msageryd closed 5 years ago

msageryd commented 5 years ago

Is there a way to extract a page-index from the PDF file? I know that other libraries can do this, but I'd prefer keeping the dependency-count down if possible.

blackbeam commented 5 years ago

Did you mean page number like here?

msageryd commented 5 years ago

Yeah, great! Sorry for not reading trough the tests. I glanced through the C code, but nothing jumped out to me. Should have heded straight to tests.

blackbeam commented 5 years ago

I've got typescript definitions somewhere. Looks like i need to find and publish them as a documentation..

blackbeam commented 5 years ago

Documentation is now available in form of typescript definitions. It is actual for v0.7.0 But please beware of breaking change in v0.7.0