0.0.8 • Published 6 years ago

global-input-recorder v0.0.8

Weekly downloads
-
License
ISC
Repository
-
Last release
6 years ago

global-input-recorder

Records input from keyboard and mouse

Requirements

API

  • record
  • stop
  • clear
  • input

Example

const GlobalInputRecorder = require('global-input-recorder');
const fs = require('fs');

const inputRecorder = new GlobalInputRecorder();

console.log('Recording!');
inputRecorder.record();

setTimeout(stopRecording, 10000);

function stopRecording() {
  inputRecorder.stop();
  console.log('Recording stopped!');
  const input = inputRecorder.input;
  fs.writeFileSync('./temp/report.json', JSON.stringify(input));
}
0.0.8

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago