Installation
Solvix works in Node.js 18+, modern browsers, Deno, Bun, and edge runtimes.
npm
npm install @solvix-client/clientpnpm
pnpm add @solvix-client/clientyarn
yarn add @solvix-client/clientbun
bun add @solvix-client/clientCDN (Browser)
<script type="module">
import { createClient } from "https://cdn.jsdelivr.net/npm/@solvix-client/client/dist/index.js";
// or via unpkg:
// import { createClient } from "https://unpkg.com/@solvix-client/client/dist/index.js";
</script>Node.js Proxy/TLS Features
If you need HTTP proxy support or custom TLS/SSL configuration (mTLS, self-signed certificates), install undici as a peer dependency:
npm install undiciThese features are automatically disabled when undici is not available — no error, no polyfill.
Verifying Installation
node -e "const { createClient } = require('@solvix-client/client'); console.log('OK', typeof createClient);"For ESM:
node --input-type=module -e "import { createClient } from '@solvix-client/client'; console.log('OK', typeof createClient);"Requirements
| Runtime | Minimum Version |
|---|---|
| Node.js | 18+ |
| Chrome | 87+ |
| Firefox | 90+ |
| Safari | 15+ |
| Edge | 90+ |
| Deno | 1.30+ |
| Bun | 1.0+ |
| Cloudflare Workers | Latest |
| Vercel Edge | Latest |
What's Next
- Quick Start — build your first client
- Configuration Overview — all available options