{"name":"@ai-sdk/react","version":"4.0.127","keywords":["ai","react"],"license":"Apache-2.0","_id":"@ai-sdk/react@4.0.127","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":"76d53e9d3139b2293bcaea2332be394805cc067c","tarball":"http://registry-npm.ywwl.com/@ai-sdk/react/download/@ai-sdk/react-4.0.127.tgz","fileCount":25,"integrity":"sha512-zGMvLs6B5YdGuxSBBVKWxFN1E5SfAtpmrU2DXMdY+7wUMQWe75KHRX3aGec1O6ql8wtYiDx/j2LoL5dKtEz6tg==","signatures":[{"sig":"MEUCIQCfFriKz9CRmcLcuiM5sW7TOv2BZ7zD2BqNYgBc5tItgwIgQAqk7k2XckTNsfn8bJruJaRw/W+08nqGBMQe2gE0Fh8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQD/JYFtoTVUBbXSNXCOZlZ1fdN9cfKhSqCYEfb80lN3lgIgXQ9vko/H1djV46tTdWT+Pwmc9g6hDBteFqJd3f/1vVE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ai-sdk%2freact@4.0.127","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":320605,"size":76305,"noattachment":false,"key":"/@ai-sdk/react/-/@ai-sdk/react-4.0.127.tgz"},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"test":"vitest --config vitest.config.js --run","build":"pnpm clean && tsdown","clean":"del-cli *.tsbuildinfo","test:watch":"vitest --config vitest.config.js","type-check":"tsc --build","build:watch":"pnpm clean && tsdown --watch","test:update":"vitest --config vitest.config.js --run -u"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"422789b8-ee0b-48b3-b615-8b20fc7960ca"}},"repository":{"url":"https://github.com/vercel/ai","type":"git","directory":"packages/react"},"directories":{},"sideEffects":false,"_nodeVersion":"24.21.0","dependencies":{"ai":"7.0.124","swr":"^2.4.1","throttleit":"2.1.0","@ai-sdk/mcp":"2.0.64","@ai-sdk/provider":"4.0.21","@ai-sdk/provider-utils":"5.0.53"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"msw":"2.6.4","zod":"3.25.76","jsdom":"^24.1.3","react":"^18.3.1","tsdown":"^0.23.0","react-dom":"^18.3.1","typescript":"5.8.3","@types/node":"22.19.19","@types/react":"^18.3.28","@types/react-dom":"^18.3.7","@ai-sdk/test-server":"2.0.3","@vercel/ai-tsconfig":"0.0.0","@vitejs/plugin-react":"^4.7.0","@testing-library/react":"^16.3.2","@testing-library/jest-dom":"^6.9.1","@testing-library/user-event":"^14.6.1"},"peerDependencies":{"react":"^18 || ~19.0.1 || ~19.1.2 || ^19.2.1"},"_npmOperationalInternal":{"tmp":"tmp/react_4.0.127_1790790491692_0.4086686505977717","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":1790790491772,"_cnpm_publish_time":1790790491772,"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"}}