DotEnv overview
.env ConfigProvider
Based on
- https://github.com/motdotla/dotenv
- https://github.com/motdotla/dotenv-expand
Added in v1.0.0
Table of contents
constructors
layer
Replace the current ConfigProvider with a dotenv ConfigProvider.
Signature
export declare const layer: (paths: string) => Layer.Layer<never, PlatformError, FileSystem.FileSystem>
Added in v1.0.0
layerAsFallback
Use dotenv ConfigProvider as a fallback to the current ConfigProvider.
Signature
export declare const layerAsFallback: (path: string) => Layer.Layer<never, PlatformError, FileSystem.FileSystem>
Added in v1.0.0
makeConfigProvider
Create a dotenv ConfigProvider.
Signature
export declare const makeConfigProvider: (
paths: string
) => Effect.Effect<ConfigProvider.ConfigProvider, PlatformError, FileSystem.FileSystem>
Added in v1.0.0