phantom-html-to-pdf-example A sample code for creating pdf using phantom-html-to-pdf lib npm install npm start browse to http://localhost:3000 follow simple steps. As of now the pdf is created for only one sample data, and the sample uses the hard-coded clientId1.