Skip to content

Latest commit

 

History

History
51 lines (39 loc) · 1.09 KB

README.md

File metadata and controls

51 lines (39 loc) · 1.09 KB

Website Preview Tool

Get a screenshot of a website from the command line

GitHub · NPM

Made with Puppeteer and Commander.


Index


How to use

- You can install it on your computer globally by doing:

npm install -g website-preview-tool

and then you can run it by doing

website-preview-tool website <link>

- You can run the tool by doing:

npx website-preview-tool website <link>

You need to add https:// or http://

Options

-o <output> - Set the name of the screenshot output. The default is website_preview.png

-h <number_of_pixels> - Set the height of the website. The default is 1920.

-w <number_of_pixels> - Set the width of the website. The default is 1080.