npm.io
0.1.2 • Published 9 years agoCLI

web-capture

Licence
MIT
Version
0.1.2
Deps
7
Vulns
0
Weekly
0
Stars
2

Web Capture

Promise and cli wrapper for node-webshot

# 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));

- MIT -

Keywords