Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

solid-aper

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

solid-aper

latest
npmnpm
Version
0.0.1
Version published
Weekly downloads
5
66.67%
Maintainers
1
Weekly downloads
 
Created
Source

solid-aper

solid-aper

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

release npm npm license sponsor

Installation

pnpm add solid-aper

Demo

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

Usage

import type { Component } from "solid-js"
import { Aper } from "solid-aper"
import "solid-aper/dist/style.css"

const App: Component = () => {
  return (
    <div
      style={{
        width: "100vw",
        height: "100vh",
        display: "flex",
        "justify-content": "center",
        "align-items": "center",
        padding: "20px",
        "box-sizing": "border-box",
      }}
    >
      <Aper
        debug
        rememberVolume
        mainColor="#ADDDA9"
        defaultCover="https://jsd.nn.ci/gh/Xhofe/Xhofe/avatar/avatar.svg"
        audios={[
          {
            name: "name",
            url: "https://demo/name.flac",
            artist: "artist",
            lrc: "https://demo/name.lrc",
          },
          ...
        ]}
      />
    </div>
  )
}

export default App

FAQs

Package last updated on 23 Dec 2022

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