Skip to content

Installation

Installation

You can install the react-audio-recorder-hook package using npm or yarn:

Terminal window
# Using npm
npm install react-audio-recorder-hook
# Using yarn
yarn add react-audio-recorder-hook

Requirements

This hook requires:

  • React 16.8.0 or higher (for Hooks support)
  • A browser that supports the MediaRecorder API

Browser Compatibility

The hook is compatible with all modern browsers that support the MediaRecorder API, including:

  • Chrome 49+
  • Firefox 25+
  • Edge 79+
  • Opera 36+
  • Safari 14.1+

Next Steps

Once you’ve installed the package, check out the Basic Usage section to learn how to use the hook in your React components.