没有合适的资源?快使用搜索试试~ 我知道了~
htmltopdf
共49个文件
ttf:31个
0:3个
yml:2个
需积分: 11 0 下载量 22 浏览量
2021-03-13
18:22:46
上传
评论
收藏 18.54MB ZIP 举报
温馨提示
使用AWS Lambda函数和无服务器层HTML转PDF 用于将html转换为pdf 先决条件 全局安装无服务器 npm i -g serverless 入门 安装所有依赖项 cd path/to/the/repo npm install 在本地运行 cd htmlToPdf/ sls offline start 确保将以下行注释为在本地运行 htmlToPdf / handler . js pdf . create ( html , { format : "Letter" , orientation : "portrait" , // phantomPath: '/opt/phantomjs_linux-x86_64' } ) . toBuffer ( ( err , buffer ) => { if ( err ) { reject
资源详情
资源评论
资源推荐
收起资源包目录
htmltopdf-master.zip (49个子文件)
htmltopdf-master
package.json 975B
htmlToPdf
serverless.yml 762B
handler.js 2KB
sample(hbs).pdf 8KB
package-lock.json 379KB
sample.pdf 8KB
layers
executables
verdanai.ttf 151KB
libfontconfig.so.1.7.0 250KB
libexpat.so.1.6.0 201KB
timesbi.ttf 233KB
arialbd.ttf 280KB
courbd.ttf 304KB
trebucit.ttf 136KB
georgiab.ttf 136KB
trebuc.ttf 124KB
ariblk.ttf 114KB
ariali.ttf 201KB
verdanab.ttf 133KB
libfreetype.so.6 667KB
libfreetype.so.6.10.0 667KB
arialbi.ttf 219KB
phantomjs_linux-x86_64 36.57MB
arial.ttf 269KB
tahoma.ttf 103KB
verdanaz.ttf 150KB
couri.ttf 238KB
andalemo.ttf 103KB
webdings.ttf 116KB
trebucbi.ttf 128KB
fonts.conf 164B
libexpat.so.1 201KB
courbi.ttf 229KB
timesbd.ttf 326KB
comicbd.ttf 109KB
timesi.ttf 241KB
verdana.ttf 136KB
georgia.ttf 140KB
trebucbd.ttf 121KB
georgiaz.ttf 155KB
impact.ttf 133KB
times.ttf 323KB
libfontconfig.so.1 250KB
georgiai.ttf 153KB
comic.ttf 123KB
cour.ttf 296KB
serverless.yml 514B
.gitignore 170B
webpack.config.js 1KB
README.md 3KB
共 49 条
- 1
寂寞孩纸
- 粉丝: 39
- 资源: 4473
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0