mshot-cli

1.0.0 • Public • Published

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"
    ]
}

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i mshot-cli

    Weekly Downloads

    0

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    2.78 kB

    Total Files

    4

    Last publish

    Collaborators

    • petehouston