tcr / scissors

PDF manipulation in Node.js! Split, join, crop, read, extract, boil, mash, stick them in a stew.
Apache License 2.0
285 stars 45 forks source link

use end keyword if no max is specified in range function #22

Closed fabong closed 7 years ago

fabong commented 7 years ago

Hi,

I just tried to use the range function without specifying the max parameter and it returned only one page. I solved the problem using the end keyword according to the documentation of pdftk.

Bye, Fabrice.

cboulanger commented 7 years ago

Great, thanks! Already published as v0.2.3 on npm.