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

/url-screenshot/

    Package Sidebar

    Install

    npm i url-screenshot

    Weekly Downloads

    6

    Version

    0.4.0

    License

    none

    Last publish

    Collaborators

    • taky