Start with an example

Explore our collection of examples to get familiar with ArkEnv.

Examples

NameDescription
basicMinimal example of using ArkEnv in a Node.js app for learning the fundamentals.
with-zodExample of using ArkEnv with Zod for validation (without ArkType).
with-bunMinimal example of using ArkEnv in a Bun app.
with-bun-reactMinimal example of using ArkEnv in a Bun + React full-stack app.
with-vite-reactMinimal example of using ArkEnv in a Vite + React app.
with-solid-startMinimal example of using ArkEnv in a SolidStart app.
with-standard-schemaExample of mixing ArkType with Standard Schema validators like Zod.

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.

Next steps

On this page