Installation
Install jev-hooks from npm:
npm install jev-hooksOr use your preferred package manager:
pnpm add jev-hooksbun add jev-hooksReact applications#
Use React 18.2+ or 19 and import hooks from jev-hooks/react. If React is not already installed:
npm install jev-hooks react react-domFollow the React quickstart for a complete example without an API key.
Backend programs#
Use Node.js 24+ and import from jev-hooks. React is optional and is not required for server-only applications.
See backend programs for run(), typed judgments and inference passes.
Hosting integrations#
- Next.js / Vercel: a server route and browser client.
- Cloudflare Workers: an AI binding and Worker endpoint.
Provider credentials stay on the server. Choose a provider independently of your hosting platform.