Skip to content

Urucas/ScreenRec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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

About

osx screen recording with node

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published