osx simple screen recording module
npm install --save screenrec
import ScreenRec from 'ScreenRec';
let sr = new ScreenRec({time:10});
sr.rec();
let sr = new ScreenRec({
time, // seconds
output, // output filename
silent, // hide log
togif, // convert mpg to gif
wait4key // wait for ctrl + c to stop recording
url // opens an url into the default browser to record
});
ScreenRec is build on ES6 make sure to convert to ES5 to test the examples
make clean && make
node examples/wait4key.js