github.com/spf13/viper
Go Modulesvv1.21.0Go module: github.com/spf13/viper
Overview
github.com/spf13/viper is an Go Modules package that go module: github.com/spf13/viper. The latest version is v1.21.0.
Who should use it
Teams working in the Go Modules ecosystem who need go module: github.com/spf13/viper and value a focused solution.
When not to use it
Consider an alternative if you need to minimize your dependency tree, have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your Go Modules stack.
Pros
- Actively published to the registry.
Cons
- Large dependency tree (17 direct dependencies) increases install size and audit surface.
- No bundled TypeScript types (may require a separate @types package).
- No license detected — review usage terms before adopting.
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of github.com/spf13/viper.
Dependencies
Runtime (17)
Used by
Popular packages that depend on github.com/spf13/viper.
Go module: github.com/minio/minio-go/v7
Go module: github.com/vektra/mockery/v2
Go module: github.com/golangci/golangci-lint/v2
Go module: github.com/tomarrell/wrapcheck/v2
Frequently installed together
Go module: github.com/davecgh/go-spew
Go module: golang.org/x/text
Go module: github.com/spf13/pflag
Go module: "gopkg.in/yaml.v3"
Go module: github.com/mitchellh/mapstructure
Go module: github.com/pmezard/go-difflib
Go module: golang.org/x/sync
Go module: github.com/fsnotify/fsnotify
Go module: github.com/stretchr/testify
Go module: github.com/pelletier/go-toml/v2
Go module: golang.org/x/sys
Go module: github.com/spf13/afero
Version history
| Version | Published | License |
|---|---|---|
| v1.21.0latest | 10 months ago | — |
| v1.20.1 | 1 year ago | — |
| v1.20.0 | 1 year ago | — |
| v1.20.0-alpha.6 | 2 years ago | — |
| v1.20.0-alpha.5 | 2 years ago | — |
| v1.20.0-alpha.4 | 2 years ago | — |
| v1.20.0-alpha.3 | 2 years ago | — |
| v1.20.0-alpha.2 | 2 years ago | — |
| v1.20.0-alpha.1 | 2 years ago | — |
| v1.19.0 | 2 years ago | — |
| v1.18.2 | 2 years ago | — |
| v1.18.1 | 2 years ago | — |
| v1.18.0 | 2 years ago | — |
| v1.17.0 | 2 years ago | — |
| v1.16.0 | 3 years ago | — |
| v1.15.0 | 3 years ago | — |
| v1.14.0 | 3 years ago | — |
| v1.13.0 | 3 years ago | — |
| v1.12.0 | 4 years ago | — |
| v1.11.0 | 4 years ago | — |
Frequently asked questions
How do I install github.com/spf13/viper?
Run `go get github.com/spf13/viper` to add github.com/spf13/viper to your Go Modules project.
What license is github.com/spf13/viper released under?
No license was detected in github.com/spf13/viper's metadata; review the repository before use.
How popular is github.com/spf13/viper?
github.com/spf13/viper has approximately 0 downloads per week and 4 known dependent packages.