0.1.2 • Published 7 years ago

web-capture v0.1.2

Weekly downloads
10
License
MIT
Repository
github
Last release
7 years ago
# Capture screenshots of websites via terminal.
$ npm install -g web-capture
$ web-capture --url 'http://consultant.js.org' --output 'consultant.png'
$ open 'consultant.png'
// Use it via the module.
import capture from 'web-capture';
capture('http://consultant.js.org', 'consultant.png')
.then(() => winston.info('Done!'))
.catch(error => winston.error(error));