UNPKG

use-audio-capture

Version:

🎙️ A lightweight React hook for audio recording using native Web APIs (MediaRecorder, getUserMedia). Start, stop, pause, resume audio recordings with customizable callbacks. Perfect for voice notes, interviews, podcasts, and real-time audio processing in

2 lines (1 loc) 81 B
export declare function assert(condition: any, msg?: string): asserts condition;