A lightweight library for recording and replaying user interactions in Monaco Editor.
Pure JavaScript implementation showing the core recording and playback functionality. Perfect for understanding the basics.
React component example with hooks showing how to integrate monaco-recorder into a React application.
# Install
npm install monaco-recorder
# Import and use
import createMonacoRecorder from 'monaco-recorder';
const recorder = createMonacoRecorder(editor, monaco);
const stop = recorder.start();
// ... user interactions ...
const events = stop();
recorder.play(events);