Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/enzastdlib/environment/mod.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/mod.ts";

Functions

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

Returns Error objects of any validation errors that have occured regarding the specified environment variables, 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.

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