{"_id":"@10xdevs/voice-sdk","_rev":"2-7e6224e230237caeaea60f252c9f655e","name":"@10xdevs/voice-sdk","dist-tags":{"latest":"0.1.5"},"versions":{"0.1.0":{"name":"@10xdevs/voice-sdk","version":"0.1.0","license":"MIT","_id":"@10xdevs/voice-sdk@0.1.0","maintainers":[{"name":"10xdevs","email":"tanavposwal939@gmail.com"}],"dist":{"shasum":"8a57a046d3a72d1fe827be8f53584a7fd7bb3218","tarball":"https://registry.npmjs.org/@10xdevs/voice-sdk/-/voice-sdk-0.1.0.tgz","fileCount":8,"integrity":"sha512-kbTnuIY5isF8K6URzapqwkLCs7ILngW/MbF0k2TgdwAhBQPzqANUXaX2qiid+KmgSmLlDrMcM8v/MidFlddKRw==","signatures":[{"sig":"MEUCIDRnB/sA5fARJLt4Pgj23UN51xzTAylg8fedFlLv/sGPAiEAm0cwyc2LYKAwS/i07y+Z/91/MwivoijrjwzTz9kf3o0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16128},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"b9ee3742abbad002d06a9b62caed1c98d8b7e380","private":false,"scripts":{"dev":"next dev","pub":"npm run build:lib && npm publish","lint":"eslint","build":"next build","start":"next start","build:lib":"tsc -p tsconfig.lib.json","prepublishOnly":"npm run build:lib"},"_npmUser":{"name":"10xdevs","email":"tanavposwal939@gmail.com"},"_npmVersion":"11.12.1","description":"React hooks for capturing microphone input and playing back audio in the browser.","directories":{},"sideEffects":false,"_nodeVersion":"24.15.0","dependencies":{"ai":"^5.0.216","clsx":"^2.1.1","next":"16.2.10","react":"19.2.4","shadcn":"^4.13.1","react-dom":"19.2.4","remark-gfm":"^4.0.1","lucide-react":"^1.25.0","@ai-sdk/openai":"^2.0.114","@base-ui/react":"^1.6.0","react-markdown":"^10.1.0","tailwind-merge":"^3.6.0","tw-animate-css":"^1.4.0","@ai-sdk/elevenlabs":"^3.0.12","class-variance-authority":"^0.7.1"},"ignoreScripts":["sharp","unrs-resolver"],"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9","typescript":"^5","@types/node":"^20","tailwindcss":"^4","@types/react":"^19","@types/react-dom":"^19","eslint-config-next":"16.2.10","@tailwindcss/postcss":"^4"},"trustedDependencies":["sharp","unrs-resolver"],"_npmOperationalInternal":{"tmp":"tmp/voice-sdk_0.1.0_1784354079144_0.9304291778712421","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@10xdevs/voice-sdk","version":"0.1.5","description":"React hooks for capturing microphone input and playing back audio in the browser.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/10xdevs/voice-sdk.git"},"homepage":"https://github.com/10xdevs/voice-sdk#readme","bugs":{"url":"https://github.com/10xdevs/voice-sdk/issues"},"keywords":["react","react-hooks","audio","microphone","speech","voice"],"sideEffects":false,"private":false,"type":"module","main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"publishConfig":{"access":"public"},"peerDependencies":{"react":">=18"},"scripts":{"dev":"next dev","build":"next build","start":"next start","lint":"eslint","prepublishOnly":"npm run build:lib","build:lib":"tsc -p tsconfig.lib.json","pub":"npm run build:lib && npm publish"},"devDependencies":{"@ai-sdk/elevenlabs":"^3.0.12","@ai-sdk/openai":"^2.0.114","@base-ui/react":"^1.6.0","@tailwindcss/postcss":"^4","@types/node":"^20","@types/react":"^19","@types/react-dom":"^19","ai":"^5.0.216","class-variance-authority":"^0.7.1","clsx":"^2.1.1","eslint":"^9","eslint-config-next":"16.2.10","lucide-react":"^1.25.0","next":"16.2.10","react":"19.2.4","react-dom":"19.2.4","react-markdown":"^10.1.0","remark-gfm":"^4.0.1","shadcn":"^4.13.1","tailwindcss":"^4","tailwind-merge":"^3.6.0","tw-animate-css":"^1.4.0","typescript":"^5"},"ignoreScripts":["sharp","unrs-resolver"],"trustedDependencies":["sharp","unrs-resolver"],"gitHead":"9971a157f4562467fa532f02bab9b97b23a35e0b","_id":"@10xdevs/voice-sdk@0.1.5","_nodeVersion":"24.15.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-61IQfOfPTuCzNOOR8UoaGWTGUEaJLp0pEUR/YwEwmH7OY3OI6W/x7WLQus61nJo+5gRf47BVbrWD7xLWcXNmJg==","shasum":"e544d9c57d89e4e38af66d9f010e7e9686b1506e","tarball":"https://registry.npmjs.org/@10xdevs/voice-sdk/-/voice-sdk-0.1.5.tgz","fileCount":8,"unpackedSize":17164,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIC4c1DsRCrCZna1uyVdDDwwsdspyRKW07AvbUahFSyYBAiAg5q0/wl5qMYP//8NYJ5KPU8Y7x9M9i+6UvRBDjASoJg=="}]},"_npmUser":{"name":"10xdevs","email":"tanavposwal939@gmail.com"},"directories":{},"maintainers":[{"name":"10xdevs","email":"tanavposwal939@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/voice-sdk_0.1.5_1785315709438_0.3356916027169632"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-18T05:54:38.966Z","modified":"2026-07-29T09:01:49.768Z","0.1.0":"2026-07-18T05:54:39.278Z","0.1.5":"2026-07-29T09:01:49.594Z"},"license":"MIT","description":"React hooks for capturing microphone input and playing back audio in the browser.","maintainers":[{"name":"10xdevs","email":"tanavposwal939@gmail.com"}],"readme":"# @10xdevs/voice-sdk\n\nReact hooks for capturing microphone input and playing back audio in the browser, plus an example app built with the [Vercel AI SDK](https://ai-sdk.dev).\n\n- `useMic` — record microphone audio with pause/resume, duration, and live input level\n- `useSpeaker` — play back raw `Float32Array` PCM samples or decoded audio `Blob`s\n\n## Docs\n\n- [Hooks guide](./docs/hooks.md) — usage, return values, and [how to publish](./docs/hooks.md#publishing)\n- [AI SDK guide](./docs/ai-sdk.md) — text-to-speech and speech-to-text with `generateSpeech` and `transcribe`\n\n## Getting Started (demo app)\n\nThe Next.js app in this repo is a playground for the hooks.\n\n```bash\nnpm run dev\n# or\npnpm dev\n# or\nbun dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) with your browser to see the result.\n\n## Using the hooks in your own project\n\n```bash\nnpm install @10xdevs/voice-sdk\n```\n\n```tsx\nimport { useMic, useSpeaker } from \"@10xdevs/voice-sdk\";\n```\n\n## Publishing\n\nThe hooks in `hooks/` are published as a standalone ESM library. Only `dist/` is shipped. See the [publishing guide](./docs/hooks.md#publishing) for details.\n\n```bash\nnpm run pub   # build dist/ and publish publicly\n```\n\n## Learn More\n\n- [Next.js Documentation](https://nextjs.org/docs)\n- [Vercel AI SDK](https://ai-sdk.dev)\n","readmeFilename":"README.md","homepage":"https://github.com/10xdevs/voice-sdk#readme","keywords":["react","react-hooks","audio","microphone","speech","voice"],"repository":{"type":"git","url":"git+https://github.com/10xdevs/voice-sdk.git"},"bugs":{"url":"https://github.com/10xdevs/voice-sdk/issues"}}