Skip to content

orizens/use-recorder

Repository files navigation

use-recorder

An Audio and Microphone recorder hook for react apps

NPM JavaScript Style Guide

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.

Contact Here

alt text

Publish

publish beta https://gist.github.com/adcreare/00a10f389841dd4c97197608c9b33a7f

npm publish --tag beta