Socket
Book a DemoInstallSign in
Socket

@gyldendal/kobber-audio-recorder

Package Overview
Dependencies
Maintainers
8
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gyldendal/kobber-audio-recorder

An audio recorder and playback interface that lets you do multiple recordings and bounce them down to a single mp3.

0.6.2
latest
Source
npmnpm
Version published
Weekly downloads
105
-47.24%
Maintainers
8
Weekly downloads
 
Created
Source

Kobber AudioRecorder

An audio recorder and playback interface that lets you do multiple recordings and bounce them down to a single mp3.

Basic Setup

Install via npm

npm i @gyldendal/kobber-audio-recorder

Examples of ways to mount the component:

Straight into the html, mounting the component to a target in the DOM.

<script type="module" src="@gyldendal/kobber-audio-recorder"></script>
<script type="module">
    import AudioRecorder from "@gyldendal/kobber-audio-recorder";
    const recorder = new AudioRecorder({
        target: document.getElementById("from-index"),
    });
</script>
<div id="from-index"></div>

As a class constructor, here shown in the context of Svelte.

<script>
    import { onMount } from "svelte";
    import AudioRecorder from "@gyldendal/kobber-audio-recorder";

    onMount(() => {
        const target = document.getElementById("in-svelte");
            if (target) {
                new AudioRecorder({ target: target });
            }
    });
</script>

<div id="in-svelte"></div>

As a customElement

import AudioRecorder from "@gyldendal/kobber-audio-recorder";   

<kobber-audio-recorder id=""></kobber-audio-recorder>

Properties

mp3Callback

A callback function passed to the component, called with a mp3 blob as argument when the recording is updated.

FAQs

Package last updated on 26 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.