Socket
Socket
Sign inDemoInstall

mvnch

Package Overview
Dependencies
3
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    mvnch

CLI tool for taking screenshots of websites.


Version published
Weekly downloads
3
Maintainers
1
Created
Weekly downloads
 

Readme

Source

mvnch

npm bitHound Code GitHub license

A Node.js command line tool that allows you to easily take screenshots of websites.

Powered by phantom.

Installation

mvnch is available as a npm package, so you can install it by running:

npm install -g mvnch

Usage

mvnch [options] <url>

Options:

    -h, --help           output usage information
    -V, --version        output the version number
    -o, --output <file>  file to save the screenshot. Default: output.png
    -w, --width <px>     width of the emulated browser. Default: 1920
    -h, --height <px>    height of the emulated browser. Default: 1080
    -s, --sleep <ms>     time to wait before taking the shot. Default: 0
    -d, --disable-js     disable JavaScript when loading the page

The result will have the same format as the extension of the file specified
in --output.
Note that --sleep starts to count after the page has been fully loaded (i.e.
all images, etc. are ready). Thus, no need to use this to overcome slow
connections.

License

All of mvnch's code is under the MIT license, which can be read in this repo's LICENSE file.


© 2017 Yago González. All rights reserved.

Keywords

FAQs

Last updated on 08 Apr 2017

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc