#1 Koanf
Simple, extremely lightweight, extensible, configuration management library for Go. Supports JSON, TOML, YAML, env, command line, file, S3 etc. Alternative to viper.
Compare go configuration libraries by maintenance, adoption, security, release activity, and Go ecosystem usage. Top packages in this group include Koanf, Viper, argus.
Highest combined package health score.
Strongest maintenance signal in this category.
Highest adoption signal from stars, forks, and imported-by data.
Simple, extremely lightweight, extensible, configuration management library for Go. Supports JSON, TOML, YAML, env, command line, file, S3 etc. Alternative to viper.
Go configuration with fangs.
Package argus provides a comprehensive dynamic configuration management framework for Go applications, combining ultra-fast file monitoring, universal format parsing, and zero-reflection configuration binding in a single, cohesive system.
Go SDK for building durable AI agents on Temporal with support for tools, MCP, human approvals, and sub-agent delegation.
lightweight extendable API Gateway in Go - parallel fan-out, flexible aggregation, and zero configuration magic.
Package config is a go config management implement.
A simple, zero-dependencies library to parse environment variables into structs
Yaml Config Loader
Package xdg provides an implementation of the XDG Base Directory Specification.
The home of the CUE language! Validate and define text-based and dynamic configuration
Package ini provides INI file read and write functionality in Go.
| Package | Health | Maintenance | Adoption | Security | Imported by |
|---|---|---|---|---|---|
| Koanf | 95 | 95 | 100 | 92 | 540 |
| Viper | 91 | 80 | 100 | 92 | 103.3K |
| argus | 66 | 90 | 12 | 92 | 1 |
| agent-sdk-go | 62 | 90 | 7 | 92 | 0 |
| Kono | 59 | 90 | 7 | 70 | 0 |
| v2 | 58 | 90 | 5 | 70 | 0 |
| configor | 58 | 48 | 50 | 92 | 870 |
| env | 54 | 15 | 60 | 92 | 1.4K |
| go-config | 48 | 27 | 28 | 92 | 44 |
| xdg | 44 | 45 | 7 | 70 | 0 |
| cue | 43 | 48 | 5 | 70 | 0 |
| ini | 41 | 15 | 7 | 92 | 0 |
Compare health, maintenance, adoption, security, and release signals.
Compare health, maintenance, adoption, security, and release signals.
Compare health, maintenance, adoption, security, and release signals.