Socket
Socket
Sign inDemoInstall

screenit

Package Overview
Dependencies
50
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    screenit

Capture screenshots of webpages using puppeteer


Version published
Weekly downloads
2
increased by100%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

screenit

A simple tool I made using puppeteer that allows me to take screenshots of webpages for project READMEs, etc.

Features

  • Take a screenshot of a supplied page using puppeteer

Installation

Via npm

Install the command globally by running npm install -g screenit

Via Cloning

  1. Clone the repository by running:
git clone https://github.com/Coteh/screenit.git
  1. Run npm link to symlink the executable to your system path.

Usage

usage: screenit [URL] [-o OUTPUT_FILE]

  Optional flags:
  -o|--output [OUTPUT_FILE]	Specify output file - defaults to 'screenshot.png'

Issues

  • Opinionated (e.g. width and height is always 1280x720, it suits a personal use case of taking quick standard screenshots of pages)
  • Only saves to PNG
  • Not guaranteed to work with every page (post on Issues page if you find something)

Future Work

  • Implement full-page screenshots (scroll down page)
  • Use cookies
  • Add tests

FAQs

Last updated on 14 May 2020

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