github.com/spf13/viper

Viper

Go configuration with fangs.

85

Decision Signals

Health score 85/100, confidence 80/100.

Excellent
Maintenance 80
Adoption 100
Security 70
Maturity 100
Developer DX 67
Confidence 80

Install

go get github.com/spf13/viper

Package Data

updated Jun 11, 2026
Latest versionv1.21.0
Imported by0 packages
Stars30.3K
Forks2.1K
Last activity4 months ago
Latest releasev1.21.0 (9 months ago)
LicenseMIT
Known vuln records0

API Surface

0 symbols
SymbolKindSynopsis
No symbol preview available from pkg.go.dev for this refresh.

Similar Packages

Go Configuration Libraries

#1 v2

Package config is a go config management implement.

Go Configuration Libraries 583 stars 215 imported-by 95% confidence
96

#2 env

A simple, zero-dependencies library to parse environment variables into structs

Go Configuration Libraries 6.2K stars 1.4K imported-by 100% confidence
95

#3 Koanf

Simple, extremely lightweight, extensible, configuration management library for Go. Supports JSON, TOML, YAML, env, command line, file, S3 etc. Alternative to viper.

Go Configuration Libraries 4.1K stars 540 imported-by 100% confidence
95

#4 xdg

Package xdg provides an implementation of the XDG Base Directory Specification.

Go Configuration Libraries 1.0K stars 1.2K imported-by 100% confidence
93

#5 cue

The home of the CUE language! Validate and define text-based and dynamic configuration

Go Configuration Libraries 6.1K stars 0 imported-by 40% confidence
83