import { parse } from "https://deno.land/std@0.220.0/dotenv/mod.ts";
Parse .env
file output in an object.
Examples
Example 1
Example 1
import { parse } from "https://deno.land/std@0.220.0/dotenv/parse.ts";
const env = parse("GREETING=hello world");
env.GREETING; // "hello world"