Module

std/dotenv/mod.ts>loadSync

The Deno Standard Library
Latest
function loadSync
import { loadSync } from "https://dotland.deno.dev/std@0.224.0/dotenv/mod.ts";

Works identically to {@link load}, but synchronously.

Parameters

optional
unnamed 0: LoadOptions = [UNSUPPORTED]

Returns

Record<string, string>