effect-config-schema
Installation
SKILL.md
Config & Schema
When to use
- Validating request bodies, params, or external inputs
- Loading environment configuration with types
Config (example)
import { Config } from "effect"
const Server = Config.nested("SERVER")(Config.all({
host: Config.string("HOST"),
port: Config.number("PORT")
}))
Schema Validate
import { Schema as S } from "effect"