url-screenshot
v0.4.0
Published
simple phantom wrapper to take screenshots of urls
Downloads
2
Readme
url-screenshot
install
using npm
npm i url-screenshot --save
example
screenshot = require 'url-screenshot'
ss_opt = {
url: 'https://www.google.com'
outfile: '/tmp/google.png'
}
await screenshot ss_opt, defer e,outfile
console.log e
console.log outfile
process.exit 0