Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

mshot-cli

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mshot-cli

CLI to take screenshots for multiple website at one using Puppeteer.

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

mshot-cli

CLI to take screenshots for multiple website at one using Puppeteer.

Usage

$ npm i -g mshot-cli
    Usage
        $ mshot PATH_TO_CONFIG_FILE

    Example
        $ mshot config.json

There is only one parameter that point to your config.json file, which defines how to take screenshots.

Here a sample:

{
    "options": {
        "path": ".",
        "viewport": {
            "width": 1280,
            "height": 720
        },
        "timeout": 5000,
        "extension": "png"
    },
    "websites": [
        "petehouston.com",
        "apple.com",
        "microsoft.com"
    ]
}

Keywords

puppeteer

FAQs

Package last updated on 02 Aug 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts