@screenie/screenie-adpater-default
v0.0.1-1
Published
[![Build Status](https://travis-ci.org/DSchau/screenie.svg?branch=master)](https://travis-ci.org/DSchau/screenie)
Downloads
2
Readme
screenie
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'
});
})();