Skip to main content
Deno 2 is finally here 🎉️
Learn more

Chimera

A fantastic configuration library for Deno

import { auto } from "https://deno.land/x/chimera/mod.ts";

// Define your expected configuration
interface Config {
  username: string;
  maxconn: number;
  nested: { foo: string };
  // More fields ...
}

// Let chimera handle environment variables, JSON and YAML for you
const config: Config = await auto({ name: "example" });
console.log(config);

See the documentation for detailed usage