I am using html-pdf for pdf creation on my project. i can generate all the details into the pdf. but the thing is i can not be able to create List of items in array in html(which will be used for pdf conversion).
Suppose if the array length is 3 . i can use like
array.name ,array.name, array.name
The idea is to make a parser which will :
<customTable arrayName="myCustomArray" fields="['name']" />) with a generated HTML array in Node.js.
I write an example of parser in VanillaJS here : https://jsfiddle.net/rbuuzcre/5/