first: yarn install singlePage: singleFile.js many pages: the_htmls-the_pdfs.js edit script to point to your .html comments will tell you how then node singleFile.js or node the_htmls-the_pdfs.js