UNPKG

react-audio-processor-kit

Version:

A lightweight React hook for real-time voice activity detection (VAD), low-latency audio streaming, volume visualization, and optional full-session recording — built for voice-enabled interfaces and live audio applications.

67 lines (66 loc) 2.12 kB
{ "name": "react-audio-processor-kit", "version": "0.0.2", "description": "A lightweight React hook for real-time voice activity detection (VAD), low-latency audio streaming, volume visualization, and optional full-session recording — built for voice-enabled interfaces and live audio applications.", "main": "./dist/index.js", "scripts": { "build": "(rm -rf dist || rmdir /s /q dist || echo 'Failed to remove dist') && webpack --mode production && npm pack", "build:babel": "(rm -rf dist || rmdir /s /q dist || echo 'Failed to remove dist') && npm run build:min && npm pack", "build:esm": "babel src --out-dir dist/src --copy-files && babel index.js --out-file dist/index.js", "build:min": "babel . --out-dir dist --minified --copy-files", "build:min-with-additional": "babel . --out-dir dist --minified --copy-files --out-file-extension .min.js" }, "devDependencies": { "@babel/cli": "^7.26.4", "@babel/core": "^7.24.7", "@babel/preset-env": "^7.26.7", "@babel/preset-react": "^7.24.7", "babel-loader": "^9.2.1", "babel-minify": "^0.5.1", "webpack": "^5.99.6", "webpack-cli": "^6.0.1" }, "peerDependencies": { "react": "^17.0.0 || ^18.0.0 || ^19.0.0", "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0" }, "files": [ "dist", "README.md", "LICENSE.md", "CHANGELOG.md" ], "repository": { "type": "git", "url": "git+https://github.com/dev-akash-iz/react-audio-processor-kit.git" }, "keywords": [ "react", "audio", "microphone", "vad", "voice-detection", "voice-activity-detection", "real-time-audio", "audio-streaming", "audio-recorder", "react-hook", "web-audio", "audio-processing", "react-audio", "speech-detection", "voice-ui", "browser-audio", "live-audio", "visualization", "react-visualization", "audio-capture", "audio-api" ], "author": "dev.akash", "license": "MIT", "bugs": { "url": "https://github.com/dev-akash-iz/react-audio-processor-kit/issues" }, "homepage": "https://github.com/dev-akash-iz/react-audio-processor-kit.git#readme" }