4.2.4 • Published 6 years ago
pageres-integration v4.2.4
pageres
https://www.npmjs.com/package/pageres
new features
output
stdout saved file path
Options
nameType
Filename type: only-onlyHash; full-normal&hash; normal-without hash
pageres-cli
https://www.npmjs.com/package/pageres-cli
new features
Options
-w
, --width
ViewportSize width
$ pageresi todomvc.com 1024x5000 --crop --width 375 --height 667
-h
, --height
ViewportSize height
$ pageresi todomvc.com 1024x5000 --crop --width 375 --height 667
-p
, --dest
Dest save Path
$ pageresi todomvc.com 1024x5000 --crop --width 375 --height 667 -p "./dest"
$ pageresi todomvc.com 1024x5000 --crop --width 375 --height 667 -p "/var/test/dest"
-type
, --nameType
Filename type: only-onlyHash; full-normal&hash; normal-without hash
$ pageresi -d test --type only --filename "<%= date %><%= time %><%= url %>-<%= size %>" http://www.example.com/#/member/orders/48?ss=1 1024x768 1366x768