use-recorder
v0.0.6
Published
An Audio and Microphone recorder hook for react apps
Downloads
647
Readme
use-recorder
An Audio and Microphone recorder hook for react apps
Install
npm install --save use-recorder
Usage
import React from 'react'
import { useRecorder } from 'use-recorder'
const App = () => {
const { start, stop, player } = useRecorder()
return (
<div>
<button onClick={start}>start</button>
<button onClick={stop}>stop</button>
<button onClick={() => player.play()}>play</button>
<button onClick={() => player.pause()}>pause</button>
</div>
)
}
export default App
License
EULA © orizens
Front End Consulting Services
I'm a Senior Senior Front End Engineer & Consultant at Orizens. My services include:
- React/Angular/Javascript Consulting
- Front End Consulting
- Project Code Review
- project bootstrapping and development.
Publish
publish beta https://gist.github.com/adcreare/00a10f389841dd4c97197608c9b33a7f
npm publish --tag beta