useaudiohook

1.0.2 • Public • Published

useAudio

What is it ?

This is a hook implementation wrapped around a Audio instantiation.

How to use ?

import {useAudio} from 'useaudiohook';

const instance = useAudio(src)

It functions similar to how the Audio constructor would function. You'll see that almost all the same methods and properties are exposed as well.

Issues ?

This is a work in progress as such all issues are welcome. Please report issues HERE

Readme

Keywords

Package Sidebar

Install

npm i useaudiohook

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

10.5 kB

Total Files

5

Last publish

Collaborators

  • enahsor