{"name":"@ai-sdk/react","version":"2.0.118","keywords":["ai","react"],"license":"Apache-2.0","_id":"@ai-sdk/react@2.0.118","maintainers":[{"name":"vercel-release-bot","email":"infra+release@vercel.com"},{"name":"matheuss","email":"matheus.frndes@gmail.com"},{"name":"matt.straka","email":"matt.j.straka@gmail.com"}],"homepage":"https://ai-sdk.dev/docs","bugs":{"url":"https://github.com/vercel/ai/issues"},"dist":{"shasum":"e8189ade7c28e1d1ccde86b81126a7955089ad7f","tarball":"http://registry-npm.ywwl.com/@ai-sdk/react/download/@ai-sdk/react-2.0.118.tgz","fileCount":10,"integrity":"sha512-K/5VVEGTIu9SWrdQ0s/11OldFU8IjprDzeE6TaC2fOcQWhG7dGVGl9H8Z32QBHzdfJyMhFUxEyFKSOgA2j9+VQ==","signatures":[{"sig":"MEUCIQDYlTCfNuSE6YT/8TjY+BaP9grNENPKt54xZKs7dwecOQIgYkJzuc6Iiq9Hi1YaaKclh/tK51NiGtDZla21ARc+8ro=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":155474,"size":28005,"noattachment":false,"key":"/@ai-sdk/react/-/@ai-sdk/react-2.0.118.tgz"},"main":"./dist/index.js","_from":"file:ai-sdk-react-2.0.118.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"lint":"eslint \"./**/*.ts*\"","test":"vitest --config vitest.config.js --run","build":"pnpm clean && tsup --tsconfig tsconfig.build.json","clean":"del-cli dist *.tsbuildinfo","test:watch":"vitest --config vitest.config.js","type-check":"tsc --build","build:watch":"pnpm clean && tsup --watch --tsconfig tsconfig.build.json","test:update":"vitest --config vitest.config.js --run -u","prettier-check":"prettier --check \"./**/*.ts*\""},"_npmUser":{"name":"vercel-release-bot","email":"infra+release@vercel.com"},"_resolved":"/tmp/c5adf926bdee398f04774ebc89db93c0/ai-sdk-react-2.0.118.tgz","_integrity":"sha512-K/5VVEGTIu9SWrdQ0s/11OldFU8IjprDzeE6TaC2fOcQWhG7dGVGl9H8Z32QBHzdfJyMhFUxEyFKSOgA2j9+VQ==","repository":{"url":"git+https://github.com/vercel/ai.git","type":"git"},"_npmVersion":"10.9.4","description":"[React](https://react.dev/) UI components for the [AI SDK](https://ai-sdk.dev/docs):","directories":{},"sideEffects":false,"_nodeVersion":"22.21.1","dependencies":{"ai":"5.0.116","swr":"^2.2.5","throttleit":"2.1.0","@ai-sdk/provider-utils":"3.0.19"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"msw":"2.6.4","zod":"3.25.76","tsup":"^7.2.0","jsdom":"^24.0.0","eslint":"8.57.1","react-dom":"^18","typescript":"5.8.3","@types/node":"20.17.24","@types/react":"^18","@types/react-dom":"^18","@vercel/ai-tsconfig":"0.0.0","@testing-library/react":"^16.0.1","eslint-config-vercel-ai":"0.0.0","@testing-library/jest-dom":"^6.6.3","@testing-library/user-event":"^14.5.2"},"peerDependencies":{"zod":"^3.25.76 || ^4.1.8","react":"^18 || ~19.0.1 || ~19.1.2 || ^19.2.1"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react_2.0.118_1766212911471_0.24989972758632817","host":"s3://npm-registry-packages-npm-production"},"readme":"# AI SDK: React provider\n\n[React](https://react.dev/) UI components for the [AI SDK](https://ai-sdk.dev/docs):\n\n- [`useChat`](https://ai-sdk.dev/docs/reference/ai-sdk-ui/use-chat) hook\n- [`useCompletion`](https://ai-sdk.dev/docs/reference/ai-sdk-ui/use-completion) hook\n- [`useObject`](https://ai-sdk.dev/docs/reference/ai-sdk-ui/use-object) hook\n","publish_time":1766212911628,"_cnpm_publish_time":1766212911628,"dist-tags":{"ai-v5":"2.0.289","ai-v6":"3.0.329","alpha":"2.0.0-alpha.15","beta":"4.0.0-beta.192","canary":"4.0.0-canary.180","latest":"4.0.170","snapshot":"0.0.0-f1630544-20260811180950"}}