• Obtains an environment variable as an integer.

    Parameters

    • key: string
    • Optionalfallback: number

    Returns number

    export const PORT = envInt("PORT", 3000)