effect-io-ai

Package: @effect/platform
Module: PlatformConfigProvider

PlatformConfigProvider.layerDotEnvAdd

Add the dotenv ConfigProvider to the environment, as a fallback to the current ConfigProvider. If the file is not found, a debug log is produced and empty layer is returned.

Signature

declare const layerDotEnvAdd: (path: string) => Layer.Layer<never, never, FileSystem.FileSystem>

Source

Since v1.0.0