Socket
Book a DemoInstallSign in
Socket

chaimu

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chaimu

✨ Chaimu is an audio player that synchronizes audio with video

latest
Source
npmnpm
Version
1.0.6
Version published
Weekly downloads
26
-40.91%
Maintainers
1
Weekly downloads
 
Created
Source

Chaimu

Chaimu is an audio player that synchronizes audio with video.

NPM version Build status Downloads ru en

Usage example

A simple usage example:

import Chaimu from "chaimu";

const videoEl = document.querySelector("video");
const chaimu = new Chaimu({
  url: "https://s3.toil.cc/vot/translated.mp3",
  video: videoEl,
});
await chaimu.init();

Using this code, you will link the video to the audio.

If AudioContext is reached, you will be able to use advanced audio volume control.

If you want to use a classic player (via audio element), specify preferAudio param:

...
const chaimu = new Chaimu({
  ...
  preferAudio: true
});

Demo

Demo website

Install

Installation via Bun:

bun add chaimu

Installation via NPM:

npm install chaimu

Build

To build, you must have:

  • Bun

Don't forget to install the dependencies:

bun install

Run build:

bun build:bun

Keywords

chaimu

FAQs

Package last updated on 08 Jun 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