Skip to content

Installation

WELD requires zod as a peer dependency for runtime validation.

Terminal window
npm install weld-http zod

All adapters are optional — install only what your framework needs.

import { useWeld } from 'weld-http/react'

Requires react >= 18 as a peer dependency.

Runtime Minimum version
Node.js 18+
Bun 1.0+
Deno 1.30+
Browser Any modern browser with fetch and IndexedDB

WELD ships its own types — no @types/ package needed.

Recommended tsconfig.json settings:

{
"compilerOptions": {
"strict": true,
"moduleResolution": "bundler"
}
}