1.0.2 • Published 2 years ago
cutpdf v1.0.2
Create 1 folder name "output", the result will be put in here
(async () => {
const pdfHandler = new PdfHandler({ cuttedNumber: 10 }); // The number that you want to cut every file
await pdfHandler.splitByFolder("pdfs"); // pdfs is the folder that contains the pdf files
})();