@thinkeloquent/screenshot-stream
v4.1.0
Published
Capture screenshot of a website and return it as a stream
Downloads
2
Readme
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'));