Interface LoadOptions

Options for load and loadSync.

interface LoadOptions {
    envPath?: null | string;
    export?: boolean;
}

Properties

Properties

envPath?: null | string

Optional path to .env file. To prevent the default value from being used, set to null.

{"./.env"}
export?: boolean

Set to true to export all .env variables to the current processes environment. Variables are then accessible via Deno.env.get(<key>).

{false}