Skip to main content
Module

x/enzastdlib/environment/dotenv.ts

enzastdlib is a set of TypeScript modules that follow a common design API philosophy aiming at sane defaults and ease-of-use targeting the Deno TypeScript runtime.
Latest
import * as enzastdlib from "https://deno.land/x/enzastdlib@v0.0.4/environment/dotenv.ts";

Functions

Returns Error objects of any validation errors that have occured regarding the specified environment variables in a dotenv file, if any.

Throws an exception if any validation errors occured regarding the specified environment variables in a dotenv file, otherwise returns the values of those environment variables.