Skip to content

Latest commit

 

History

History
42 lines (33 loc) · 887 Bytes

README.md

File metadata and controls

42 lines (33 loc) · 887 Bytes

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 mpg to gif
  wait4key  // wait for ctrl + c to stop recording
  url       // opens an url into the default browser to record
});

Examples

ScreenRec is build on ES6 make sure to convert to ES5 to test the examples

make clean && make
node examples/wait4key.js

====================