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

x/hex/src/lib/options/deps.ts>dotenv.configSync

An ecosystem delivering practices, philosophy and portability. Powered By Deno and JavaScript.
Latest
function dotenv.configSync
import { dotenv } from "https://deno.land/x/hex@0.6.5/src/lib/options/deps.ts";
const { configSync } = dotenv;

Parameters

optional
options: Omit<ConfigOptions, "restrictEnvAccessTo">

Type Parameters

TEnvVar extends string

Parameters

options: Omit<ConfigOptions, "restrictEnvAccessTo"> & { restrictEnvAccessTo: StrictEnvVarList<TEnvVar>; }

Returns

StrictDotenvConfig<StrictEnvVarList<TEnvVar>>