screenit

1.0.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i screenit

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

2.92 kB

Total Files

3

Last publish

Collaborators

  • coteh