# react-hook-audio-recorder

> >

Latest version **1.0.3** (published 2022-10-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-hook-audio-recorder
pnpm add react-hook-audio-recorder
yarn add react-hook-audio-recorder
bun add react-hook-audio-recorder
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2022-10-05 |
| First published | 2022-10-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Node | >=8 |
| Dependencies | 0 |
| Unpacked size | 1.4 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | vieduogn |
| Maintainers | davinci11 |

## Links

- npm: https://www.npmjs.com/package/react-hook-audio-recorder
- Repository: https://github.com/vieduogn/react-hook-recorder
- Homepage: https://github.com/vieduogn/react-hook-recorder#readme
- Issues: https://github.com/vieduogn/react-hook-recorder/issues
- npm.io page: https://npm.io/package/react-hook-audio-recorder

## Recent versions

- 1.0.3 (latest) — 2022-10-05

## README

# react-hook-audio-recorder

>

[![NPM](https://img.shields.io/npm/v/react-hook-audio-recorder.svg)](https://www.npmjs.com/package/react-hook-audio-recorder) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

## Install

```bash
npm install --save react-hook-audio-recorder
```

## Usage

```jsx
import React, { Component } from 'react'
import { useRecorder } from 'react-hook-audio-recorder';

const Example = () => {
  const [audioURL, isRecording, startRecording, stopRecording] = useRecorder();
  return (
    <div>
      <p>{isRecording}</p>
      <button onClick={startRecording}>
      <button onClick={stopRecording}>
      <audio src={audioURL} />
    </div>
  )
}
```

## License

MIT © [vieduogn](https://github.com/vieduogn)

---

This hook is created using [create-react-hook](https://github.com/hermanya/create-react-hook).

---
_Source: https://npm.io/package/react-hook-audio-recorder · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
