Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

std/dotenv/mod.ts>loadSync

The Deno Standard Library
Go to Latest
function loadSync
import { loadSync } from "https://deno.land/std@0.222.1/dotenv/mod.ts";

Works identically to load, but synchronously.

Parameters

optional
unnamed 0: LoadOptions = [UNSUPPORTED]

Returns

Record<string, string>