Socket
Book a DemoInstallSign in
Socket

@cassette/hooks

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cassette/hooks

A simple, clean, and responsive visual wrapper for the HTML audio tag, built with React.

latest
Source
npmnpm
Version
2.0.0-beta.4
Version published
Maintainers
1
Created
Source

@cassette/hooks

@cassette/hooks provides React Hooks for consuming playerContext and fullscreenContext from inside function components. It requires React 16.8.0 or greater.

Installation

npm install @cassette/hooks

Hooks included:

  • useFullscreenContext - used to read and update the state of the surrounding fullscreenContext
  • usePlayerContext - used to read and update the state of the surrounding playerContext

Find full documentation here!

Keywords

audio

FAQs

Package last updated on 27 Sep 2019

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