url-screenshot

0.4.0 • Public • Published

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_optdefer e,outfile
 
console.log e
console.log outfile
 
process.exit 0

Readme

Keywords

Package Sidebar

Install

npm i url-screenshot

Weekly Downloads

2

Version

0.4.0

License

none

Last publish

Collaborators

  • taky