![](/img/trans.png)
[英]is there any way to pass variables to node.js from browser without form or without input tag?
[英]Is there any way to convert html to pdf converter without headless browser on node.js enviroment?
我想將 html 代碼轉換為 pdf 文件(在緩沖區上)。 然后上傳到s3雲。
找到方法
就這樣。。。有什么辦法嗎?
我剛找到這個節點 package: html-pdf 。 它似乎在工作,但不幸的是它被標記為已棄用。 使用 npm 安裝它就足夠了,不需要無頭瀏覽器。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.