Alternative review

xdg alternatives

Packages below are ranked as alternatives in the same category. The trigger for this review is limited recent repository activity.

45

Why review alternatives

xdg currently has a maintenance score of 45/100.

Latest repository activity: 1 years ago.

Known Go vulnerability records: 0.

Current package

xdg

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

Go Configuration Libraries 0 stars 1.2K imported-by 80% confidence
63

Ranked Alternatives

Go Configuration Libraries

#1 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.0K stars 540 imported-by 100% confidence
95

#2 Viper

Go configuration with fangs.

Go Configuration Libraries 30.3K stars 103.3K imported-by 65% confidence
88

#3 env

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

Go Configuration Libraries 6.2K stars 0 imported-by 45% confidence
86

#4 ini

Package ini provides INI file read and write functionality in Go

Go Configuration Libraries 3.5K stars 0 imported-by 45% confidence
85

#5 v2

Package config is a go config management implement.

Go Configuration Libraries 0 stars 215 imported-by 75% confidence
73

#6 Kono

lightweight extendable API Gateway in Go - parallel fan-out, flexible aggregation, and zero configuration magic.

Go Configuration Libraries 6 stars 0 imported-by 100% confidence
72

How to use this page

Treat alternatives as a shortlist. Check API compatibility, migration effort, project constraints, and your own threat model before replacing a dependency.