# Environmentalist URL: https://stevekinney.com/projects/environmentalist Canonical: https://stevekinney.com/projects/environmentalist Author: Steve Kinney Language: en-US Description: A configuration resolver that takes a name and a Zod schema and hands back one frozen, typed, validated object assembled from flags, environment variables, dotenv files, and config files. GitHub: https://github.com/stevekinney/environmentalist --- [Environmentalist](https://github.com/stevekinney/environmentalist) is a configuration resolver. You hand it a name and a [Zod](https://zod.dev) schema, and it hands back a frozen, fully typed, validated object with camelCase keys, assembled from command-line flags, environment variables, `.env` files, project config files, and a couple of well-known spots in your home directory. The problem is the one every real project eventually has: the same setting can live in five places, each with its own casing convention, and you end up maintaining a pile of `process.env.FOO ?? argv.foo ?? config.foo ?? 'default'` fallbacks. Environmentalist makes that pile declarative. Every key normalizes to one canonical camelCase form, values resolve per key with the most explicit source winning, and the resolution rules stay consistent, ordered, and testable.