API reference

Overview

Every export of @vlandoss/env, organized by the entrypoint you import it from.

The package is split into five entrypoints. Each page here documents one of them — signature, options, return type, and a minimal usage snippet. For "when to reach for this" prose, follow the link back to the guide that uses it.

Entrypoints

PageImportLives in
Core@vlandoss/envAny runtime — schema, defineEnv, envName
Filesystem@vlandoss/env/fsNode / Bun / Deno — loadConfig
Vite@vlandoss/env/viteVite config — envConfig() plugin
React@vlandoss/env/reactSSR / SSG — <EnvScript />
Zod primitives@vlandoss/env/zodAny — opinionated single-purpose schemas

Conventions used in this section

  • Tables list options in declaration order.
  • Sync vs. async behavior is marked explicitly on overloaded functions.
  • Each export page ends with a "See also" linking to the relevant guide and concept page.

On this page