Take screenshots in an electron window.
npm install electron-screenshot
Use in an already existing atom-shell window
for a standalone implementation see electron-screenshot-service
var screenshot = require('electron-screenshot')
screenshot(options, [cb])png filename
default 0