use-audio-capture
Version:
🎙️ A lightweight React hook for audio recording using native Web APIs (MediaRecorder, getUserMedia). Start, stop, pause, resume audio recordings with customizable callbacks. Perfect for voice notes, interviews, podcasts, and real-time audio processing in
113 lines • 3.22 kB
JSON
{
"name": "use-audio-capture",
"private": false,
"version": "1.0.1",
"type": "module",
"license": "MIT",
"author": "breeg554",
"description": "🎙️ A lightweight React hook for audio recording using native Web APIs (MediaRecorder, getUserMedia). Start, stop, pause, resume audio recordings with customizable callbacks. Perfect for voice notes, interviews, podcasts, and real-time audio processing in React applications.",
"repository": {
"type": "git",
"url": "https://github.com/breeg554/use-audio-capture.git"
},
"bugs": {
"url": "https://github.com/breeg554/use-audio-capture/issues"
},
"keywords": [
"react",
"hook",
"audio",
"recording",
"web-api",
"mediarecorder",
"getusermedia",
"navigator",
"voice",
"microphone",
"sound",
"capture",
"recorder",
"real-time",
"streaming",
"blob",
"webm",
"audio-processing",
"voice-notes",
"podcast",
"interview",
"typescript",
"react-hook",
"browser-api",
"audio-capture",
"media-stream",
"audio-recording",
"web-audio",
"audio-hooks",
"react-audio"
],
"homepage": "https://breeg554.github.io/use-audio-capture",
"funding": {
"type": "github",
"url": "https://github.com/sponsors/breeg554"
},
"source": "src/index.ts",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"types": "./dist/index.d.ts",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"peerDependencies": {
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
"devDependencies": {
"@changesets/cli": "^2.26.2",
"@storybook/addon-actions": "^7.4.5",
"@storybook/addon-console": "^2.0.0",
"@storybook/addon-essentials": "^7.4.5",
"@storybook/addon-interactions": "^7.4.5",
"@storybook/addon-links": "^7.4.5",
"@storybook/addon-onboarding": "^1.0.8",
"@storybook/blocks": "^7.4.5",
"@storybook/builder-vite": "^7.4.5",
"@storybook/react": "^7.4.5",
"@storybook/react-vite": "^7.4.5",
"@storybook/testing-library": "^0.2.2",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"@vitejs/plugin-react": "^4.0.3",
"eslint": "^8.45.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.3",
"eslint-plugin-storybook": "^0.6.14",
"prettier": "^3.0.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"storybook": "^7.4.5",
"typescript": "^5.0.2",
"vite": "^4.4.5",
"vite-plugin-dts": "^3.5.3",
"vite-tsconfig-paths": "^4.2.1"
},
"files": [
"dist"
],
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"npm-preview": "npm pack --dry-run",
"changeset-publish": "npm run build && changeset version && changeset publish"
}
}