This is a hook implementation wrapped around a Audio
instantiation.
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.
This is a work in progress as such all issues are welcome. Please report issues HERE