Start with an example
Explore our collection of examples to get familiar with ArkEnv.
Link to section: examplesExamples
| Name | Description |
|---|---|
| basic | Minimal example of using ArkEnv in a Node.js app for learning the fundamentals. |
| with-standard-schema | Example of mixing ArkType with Standard Schema validators like Zod. |
| with-bun | Minimal example of using ArkEnv in a Bun app. |
| with-bun-react | Minimal example of using ArkEnv in a Bun + React full-stack app. |
| with-vite-react | Minimal example of using ArkEnv in a Vite + React app. |
| with-solid-start | Minimal example of using ArkEnv in a SolidStart app. |
These examples are written in TypeScript, the recommended way to work with ArkEnv. That said, ArkEnv works with plain JavaScript. See the basic-js example for details and tradeoffs.