0.0.1-1 • Published 7 years ago

@screenie/screenie-adpater-default v0.0.1-1

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

screenie

Build Status

A simple tool to leverage puppeteer to take screenshots of web pages; is particularly tailored to take screenshots of individual slides in a presentation (e.g. within Spectacle)

Install

yarn add @screenie/screenie

Usage

const { screenie } = require('@screenie/screenie');
const path = require('path');

(async () => {
  const screenshots = await screenie({
    folder: path.join(process.cwd(), 'screenshots'),
    url: 'https://example.com'
  });
})();