Types

Validate values before your app starts.

Usage

All environment values remain strings. Types validate them; they do not convert them. No type is set by default.

env "PORT", type: "port", encrypted: false
env "DATABASE_URL", type: "url"

Choose a type below. Numeric types also support inclusive min and max bounds.