How can I create a customized version of an existing pdf file with node.js?

混江龙づ霸主 提交于 2019-12-04 16:03:46

问题


I have an old system that was written in PHP a long time ago that I would like to update to node.js to allow me to share code with a more modern system. Unfortunately, one of the main features of the PHP system is a tool that allows it to load an existing PDF file (which happens to be a government form), fill out the user's information, and provide a PDF to the browser that has all of that information present.

I have considered making a PHP script that will just do the PDF customization and using node for everything else, but it seems like something like this should be able to be done without requiring PHP to be installed.

Any idea how I might solve my problem just using node?


回答1:


After a lot of searching and nearly giving up, I did eventually find that the HummusJS library will do what I want to do!



来源:https://stackoverflow.com/questions/16259422/how-can-i-create-a-customized-version-of-an-existing-pdf-file-with-node-js

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!