Skip to content

Commit

Permalink
add inline explanation of options
Browse files Browse the repository at this point in the history
  • Loading branch information
kt3k committed Jun 21, 2024
1 parent ca58a17 commit db6d62f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dotenv/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -243,10 +243,10 @@ export function loadSync(
* import { load } from "@std/dotenv";
*
* const conf = await load({
* envPath: "./.env_prod",
* examplePath: "./.env_required",
* export: true,
* allowEmptyValues: true,
* envPath: "./.env_prod", // Uses .env_prod instead of .env
* examplePath: "./.env_required", // Uses .env_required instead of .env.example
* export: true, // Exports all variables to the environment
* allowEmptyValues: true, // Allows empty values for specified env variables
* });
* ```
*
Expand Down

0 comments on commit db6d62f

Please sign in to comment.