puppeteer-social-image:通过puppeteer HTML使用HTML + CSS创建动态社交共享图像

时间:2021-02-06 07:55:27
【文件属性】:
文件名称:puppeteer-social-image:通过puppeteer HTML使用HTML + CSS创建动态社交共享图像
文件大小:6.41MB
文件格式:ZIP
更新时间:2021-02-06 07:55:27
facebook twitter opengraph puppeteer TwitterJavaScript 木偶社会形象 通过操纵up使用HTML + CSS创建动态社交共享图像。 有关托管版本,请参见 。 安装 npm i puppeteer-social-image --save 用法 渲染“基本”模板 import renderSocialImage from "puppeteer-social-image" ; renderSocialImage ( { template : "basic" , templateParams : { imageUrl : "https://images.unsplash.com/photo-1557958114-3d244020
【文件预览】:
puppeteer-social-image-master
----.gitignore(188B)
----.babelrc(32B)
----.eslintrc(406B)
----package.json(3KB)
----commitlint.config.js(295B)
----src()
--------templates()
--------index.js(4KB)
--------helpers()
--------__tests__()
----.travis.yml(34B)
----LICENSE(1KB)
----CHANGELOG.md(9KB)
----.prettierrc.json(19B)
----rollup.config.js(822B)
----.prettierignore(195B)
----README.md(9KB)
----.eslintignore(194B)
----jest-setup.js(107B)
----.yarnrc(35B)
----yarn.lock(327KB)

网友评论