Screeen (OSX ONLY)
utility for osx screenshot img
Install
$ npm install screeen
Usage
option:
- type('png','jpg','tiff','pdf') - default
jpg
- data('path' or 'binary') - default
path
- mode('interactive','screen','window') - default
interactive
- rect(x,y,w,h as array) - default
not set
ignore opt.mode
option if option.rect
is set
Example
// with callbackScreeen;// without callbackvar w = fs;Screeen;