seniority
Resolves flags, environment variables, config files and defaults in one fixed order, with provenance: every value can say where it came from. Zero dependencies. Drop-in paths for cosmiconfig, lilconfig, dotenv and rc.
Part of the burgee family, graded against its incumbents on the compatibility page and drawn in the gallery.