effect-io-ai

Package: @effect/platform
Module: PlatformConfigProvider

PlatformConfigProvider.layerDotEnv

Add the dotenv ConfigProvider to the environment, replacing the current ConfigProvider.

Signature

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

Source

Since v1.0.0