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

std/dotenv/mod.ts>parse

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function parse
import { parse } from "https://deno.land/std@0.184.0/dotenv/mod.ts";

Parameters

rawDotenv: string
optional
restrictEnvAccessTo: StringList = [UNSUPPORTED]

Returns

Record<string, string>