T3 Stack · Concept
T3 Env
T3 Env validates environment variables with schemas and exposes them through a typed env object. It separates server values from client values to help prevent accidental secret exposure.
Last updated
Syntax
createEnv({ server, client, runtimeEnv })In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
Standard SchemaZodValibotArkTypeTypia@t3-oss/env-nextjs.env.example