Pageres:捕获网站截图

时间:2021-02-18 21:30:59
【文件属性】:
文件名称:Pageres:捕获网站截图
文件大小:8.03MB
文件格式:ZIP
更新时间:2021-02-18 21:30:59
TypeScript 捕获各种分辨率的网站屏幕截图。 确保您的网站响应良好的好方法。 它运行Swift,可在一分钟内从10个不同的网站生成100个屏幕截图。 它也可以用于渲染SVG图像。 有关命令行工具,请参见 。 安装 $ npm install pageres Linux用户注意事项:如果您看到“没有可用的沙箱!” 错误,您需要启用。 用法 const Pageres = require ( 'pageres' ) ; ( async ( ) => { await new Pageres ( { delay : 2 } ) . src ( 'https://github.com/sindresorhus/pageres' , [ '480x320' , '1024x768' , 'iphone 5s' ] , { crop : true } ) . src ( 'https://sindreso
【文件预览】:
pageres-main
----package.json(2KB)
----readme.md(5KB)
----.github()
--------funding.yml(113B)
--------workflows()
----test()
--------cookie.ts(879B)
--------test.ts(9KB)
--------tsconfig.json(41B)
--------_server.ts(1KB)
--------fixture.html(215B)
----media()
--------logo-bw.ai(62KB)
--------logo.ai(76KB)
--------logo-bw.png(6KB)
--------logo-bw.svg(2KB)
--------promo.psd(10.78MB)
--------promo.png(193KB)
--------logo.svg(2KB)
--------logo.png(6KB)
----license(1KB)
----code-of-conduct.md(5KB)
----tsconfig.json(178B)
----.gitignore(64B)
----.npmrc(19B)
----.editorconfig(175B)
----.gitattributes(44B)
----source()
--------index.ts(8KB)
----contributing.md(193B)

网友评论