/aper

🎵 A simple music player built with solid.js and howler.js

Primary LanguageTypeScriptMIT LicenseMIT

aper

🎵 A simple music player built with solid.js and howler.js.

release npm npm license sponsor

Installation

pnpm add aper

Demo

https://xhofe.github.io/aper/

Usage

import Aper from "aper"
import 'aper/dist/style.css'

const ap = new Aper({
  container: document.getElementById("root") as HTMLElement,
  audios: [
    {
      name: "name",
      url: "https://demo/name.flac",
      artist: "artist",
      lrc: "https://demo/name.lrc",
    },
    ...
  ],
})