New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

react-hooks-audio

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-hooks-audio

Custom audio playback for React Hooks

latest
Source
npmnpm
Version
0.1.4
Version published
Maintainers
1
Created
Source

react-hooks-audio

suitable for use in React 16.x technology stack projects.

🚀 Features

  • Custom audio playback
  • Implemented based on React Hooks

🎉 Live demo

https://winfans.github.io/react-hooks-audio/

Installation

npm install --save react-hooks-audio

Usage

demo

import { useAudio } from 'react-hooks-audio';
const { playing, play, pause, currentTime, audioTime, setCurrentTime, init, rePlay } = useAudio({ value: 'xxx' });

Browser compatibility

IE / Edge
IE / Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
IE11, Edgelast 3 versionslast 3 versionslast 2 versions

Open source agreement

react-hooks-audio follow MIT License

Keywords

audio

FAQs

Package last updated on 04 Jan 2024

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