NodePDF
NodePDF copied to clipboard
Down and dirty PDF rendering in Node.js with PhantomJS
tested with : https://www.npmjs.com/package/phantomjs-prebuilt and : https://www.npmjs.com/package/phantomjs Debian 8, NPM 6.4.1, node v10.15.3
See https://nodesecurity.io/advisories/117 for more information Should not introduce any breaking changes, unless your workflow includes shell exploits.
Hi, I've used this module before and it worked like a charm. Now on a new computer I've installed Phanthom.js 2.0. The module now doesn't seem to work. Using the...
when i try for big data i am getting this error ``` internal/child_process.js:302 throw errnoException(err, 'spawn'); ^ Error: spawn E2BIG at exports._errnoException (util.js:953:11) at ChildProcess.spawn (internal/child_process.js:302:11) at exports.spawn (child_process.js:372:9) at...
The PDF generation process is working properly, but I am unable to set custom font type to the generated PDF document. Also, the zoomFactor is not working. I have hosted...
Hi, When I use nodepdf in a seperate nodejs project, it is working fine, whereas if I use it in a Nodejs project with express framework, I am getting the...
I have a 2.1MB html. When I try to render the PDF, like this: ``` NodePDF.render(null, 'report.pdf', { 'content': reportData, 'viewportSize': { 'width': 1440, 'height': 900 }, },function(err, filePath){ console.log('err:'...
I'd like to generate images as well as pdfs, would that be in-scope for this module? https://github.com/TJkrusinski/NodePDF/blob/master/render.js#L66
Hi there, I wanted to know if the encoding option could be set some how, thanks!
This PR tries to solve https://github.com/TJkrusinski/NodePDF/issues/33. By two regular expressions I try to get around the problem introduced by the behaviour of shell-quote for quote chars `"` and exclamation marks...