EonaCat.Env 1.0.3

Prefix Reserved
dotnet add package EonaCat.Env --version 1.0.3                
NuGet\Install-Package EonaCat.Env -Version 1.0.3                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="EonaCat.Env" Version="1.0.3" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EonaCat.Env --version 1.0.3                
#r "nuget: EonaCat.Env, 1.0.3"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install EonaCat.Env as a Cake Addin
#addin nuget:?package=EonaCat.Env&version=1.0.3

// Install EonaCat.Env as a Cake Tool
#tool nuget:?package=EonaCat.Env&version=1.0.3                

EonaCat Env

Easy Environment variable loading for protection.

Allows you to use it with :

  • .NET 6.0+
  • MAUI
  • .Net Core
  • Windows
  • Linux
  • Mac OS

TIP: Put your .env files inside your Version Control ignore file so sensitive content is never written to your code repository.

As a default the following order is traversed for file loading:

  • .env File
  • .env.dev file
  • .env.local file

It is also possible to specify your own env filenames using the Settings

The static Getter can be used to retrieve Environment variables from the System Environment.

The following settings can be set: EnvFilePaths IgnoreExceptions TrimValues StopSearchOnFilenames TraverseDirectories TraverseLevels Encoding

The default traversion level is 6

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net6.0

    • No dependencies.
  • net7.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.3 165 6/29/2023