import { type LoadOptions } from "https://deno.land/std@0.179.0/dotenv/mod.ts";
Properties
Set to true
to export all .env
variables to the current processes
environment. Variables are then accessable via Deno.env.get(<key>)
.
Set to true
to allow required env variables to be empty. Otherwise, it
will throw an error if any variable is empty.
Path to .env.defaults
file which is used to define default values.
# .env.defaults
# Will not be set if GREETING is set in base .env file
GREETING="a secret to everybody"