import dotenv from "https://raw.githubusercontent.com/cardosomarcos/deno-dotenv/master/index.ts";
const env = dotenv();
console.log({ username: env.DB_USERNAME });
Generate deno type definitions with the command bellow.
make setup
import dotenv from "https://raw.githubusercontent.com/cardosomarcos/deno-dotenv/master/index.ts";
const env = dotenv();
console.log({ username: env.DB_USERNAME });
Generate deno type definitions with the command bellow.
make setup