0.4.0 • Published 8 years ago
url-screenshot v0.4.0
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