Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 339 Bytes

README.md

File metadata and controls

24 lines (20 loc) · 339 Bytes

ashot

OS X Application Screenshot utility

Install

npm install ashot

Use

ashot <application> <out.png>
ashot Calendar ./terminal.png

Use as npm module

var getScreenshot = require('ashot').getScreenshot;

getScreenshot('Calendar', function(error, img) {
   // img is Buffer
});