{"id":15292667,"url":"https://github.com/katerinutkina/audio-recorder-plugin","last_synced_at":"2026-01-19T04:01:08.771Z","repository":{"id":249170282,"uuid":"830660971","full_name":"KaterinUtkina/audio-recorder-plugin","owner":"KaterinUtkina","description":"TypeScript + Webpack + HTML + SCSS","archived":false,"fork":false,"pushed_at":"2024-07-29T16:24:15.000Z","size":554,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-02T04:14:47.836Z","etag":null,"topics":["audio-recorder","media-recorder","typescript","webpack"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/audio-recorder-plugin","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KaterinUtkina.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-18T17:59:18.000Z","updated_at":"2024-07-29T16:24:18.000Z","dependencies_parsed_at":"2024-10-23T14:00:36.787Z","dependency_job_id":null,"html_url":"https://github.com/KaterinUtkina/audio-recorder-plugin","commit_stats":null,"previous_names":["katerinutkina/audio-recorder-plugin"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/KaterinUtkina/audio-recorder-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KaterinUtkina%2Faudio-recorder-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KaterinUtkina%2Faudio-recorder-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KaterinUtkina%2Faudio-recorder-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KaterinUtkina%2Faudio-recorder-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KaterinUtkina","download_url":"https://codeload.github.com/KaterinUtkina/audio-recorder-plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KaterinUtkina%2Faudio-recorder-plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28561601,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T03:31:16.861Z","status":"ssl_error","status_checked_at":"2026-01-19T03:31:15.069Z","response_time":67,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["audio-recorder","media-recorder","typescript","webpack"],"created_at":"2024-09-30T16:25:32.555Z","updated_at":"2026-01-19T04:01:08.751Z","avatar_url":"https://github.com/KaterinUtkina.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# audio-recorder-plugin\n\nAudio Recorder Plugin is a versatile and easy-to-use plugin for recording audio in the browser using the MediaRecorder API. It includes polyfill support to ensure compatibility across different browsers, making it a reliable choice for your web audio recording needs.\n\n## Table of Contents\n\n- [Features](#features)\n- [Live Demo](#live-demo)\n- [Installation](#installation)\n- [Usage](#usage)\n- [API](#api)\n- [License](#license)\n\n## Features\n\n- **Cross-Browser Support:** Utilizes a polyfill to handle browser inconsistencies.\n- **Simple API:** Easy methods for initializing, starting, and stopping audio recordings.\n- **Playback Ready:** Returns the recorded audio as an HTMLAudioElement for straightforward playback.\n\n## Live Demo\n\nCheck out the live demo of the Audio Recorder Plugin: [Audio Recorder Plugin Live Demo](https://katerinutkina.github.io/audio-recorder-plugin/)\n\n## Installation\nYou can install the plugin via npm or yarn:\n```bash\nnpm install audio-recorder-plugin\n```\nor\n```bash\nyarn add audio-recorder-plugin\n```\n## Usage\nHere's how you can use the AudioRecorderPlugin in your JavaScript project:\n\n```\nimport { AudioRecorderPlugin } from 'audio-recorder-plugin';\nconst recorder = new AudioRecorderPlugin();\n\nconst start = async () =\u003e {\n    try {\n        await recorder.init();\n        await recorder.startRecording();\n        // Your code...\n    } catch (error) {\n        console.error('Error starting the audio recorder:', error);\n    }\n}\n\nconst stop = async () =\u003e {\n    try {\n        const audio = await recorder.stopRecording();\n        // Your code...\n    } catch (error) {\n        console.error('Error stopping the audio recorder:', error);\n    }\n}\n```\n## API\n\n### `AudioRecorderPlugin`\n\nThe `AudioRecorderPlugin` provides a simple interface for recording audio in the browser. Below are the methods available in the plugin:\n\n#### `init(): Promise\u003cvoid\u003e`\n\nInitializes the audio recorder. This method must be called before starting the recording. It sets up any necessary resources and ensures the recorder is ready for use.\n\n#### `startRecording(): Promise\u003cvoid\u003e`\n\nStarts the audio recording process. This method begins capturing audio from the user's microphone. Make sure to call `init()` successfully before invoking this method.\n\n#### `stopRecording(): Promise\u003cHTMLAudioElement\u003e`\n\nStops the audio recording process and returns an `HTMLAudioElement` containing the recorded audio. The returned audio element can be appended to the DOM or used for playback.\n\n## License\nThis project is licensed under the MIT License. See the LICENSE file for more details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaterinutkina%2Faudio-recorder-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkaterinutkina%2Faudio-recorder-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaterinutkina%2Faudio-recorder-plugin/lists"}