audio-recorder-ts
v1.2.0
Published
A simple npm package for recording audio with pause, play, and resume functionality.
Downloads
2
Readme
Audio Recorder
A simple npm package for recording audio with pause, play, and resume functionality.
Installation
npm install audio-recorder-ts
import AudioRecorder from 'audio-recorder-ts';
const recorder = new AudioRecorder();
recorder.start();
setTimeout(() => recorder.pause(), 5000);
setTimeout(() => recorder.resume(), 10000);
setTimeout(() => recorder.stop(), 15000);