macOSRecord
Contents:
macOSRecord(filePath)
Start a screen recording on MacOS.
import { macOSRecord } from "@guidepup/record";
(async () => {
  // Start the screen recording.
  const stopRecording = macOSRecord("./recordings/screenRecording.mov");
  // ... perform some commands.
  // Stop the screen recording.
  stopRecording();
})();
Parameters:
filepathstring The file path to save the screen recording to.
Returns: Function A function to stop the screen recording.