const fs = require('fs');
const screenshot = require('screenshot-stream');
const stream = screenshot('http://google.com', '1024x768', {crop: true});
stream.pipe(fs.createWriteStream('google.com-1024x768.png'));
@thinkeloquent/screenshot-stream
4.1.0 • Public • PublishedReadme
Keywords
nonePackage Sidebar
Install
npm i @thinkeloquent/screenshot-stream
Weekly Downloads
1
Version
4.1.0
License
MIT