I would like to know if there is a way to know how many pages is there in an Epub file so I can split it to RAR files if the number of pages exceeds 100 pages. I am using Node JS.
EDIT
what I want to do is check if an epub file has more than 100 pages in it. if this is the case I split it in 4 rar files that contain just the html and the image of each 25 page. I don't want to create another Epub files I just want to extract to content of the original Epub file and split it between the rar files.