@thinkeloquent/screenshot-stream

4.1.0 • Public • Published
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'));

Dependencies (5)

Dev Dependencies (11)

Package Sidebar

Install

npm i @thinkeloquent/screenshot-stream

Weekly Downloads

1

Version

4.1.0

License

MIT

Last publish

Collaborators

  • thinkeloquent