/deno-dotenv

Loads environment variables from .env for deno projects.

Primary LanguageTypeScriptMIT LicenseMIT

deno-dotenv

Build Status

Usage

import dotenv from "https://raw.githubusercontent.com/cardosomarcos/deno-dotenv/master/index.ts";

const env = dotenv();

console.log({ username: env.DB_USERNAME });

Contribution F.A.Q

How to resolve Cannot find module 'deno'.?

Generate deno type definitions with the command bellow.

make setup