0.0.3 • Published 10 years ago
screenrec v0.0.3
screenrec
osx simple screen recording module
Installation
npm install --save screenrec
Usage
import ScreenRec from 'ScreenRec';
let sr = new ScreenRec({time:10});
sr.rec();
Settings
let sr = new ScreenRec({
time, // seconds
output, // output filename
silent, // hide log
togif, // convert avi to gif
wait4key // wait for ctrl + c to stop recording
});
Examples
ScreenRec is build on ES6 make sure to convert to ES5 to test the examples
make clean && make
node examples/wait4key.js
====================