You can also try https://varlock.dev for an alternative to dotenv that will also give you validation and type safety. This will help ensure that env vars are all valid before anything else happens.