larviturltopdf
Render an URL to a PDF using phantomjs.
Example usage:
'use strict'; const urltopdf = fs = ; ;
Wait for dynamic content
In case javascript is used to alter the DOM, you can tell the renderer to wait until the class "html-ready" exists in the body tag.
'use strict'; const urltopdf = fs = ; ;
Custom execFile options
You can pass an optional object as execOptions
property with options for the execFile.
'use strict'; const urltopdf = fs = ; ;