What AI says about envsafe
EnvSafe is a TypeScript-first library that validates and parses environment variables, ensuring required variables are present and correctly typed. It provides built-in validators (string, boolean, number, port, URL, email, JSON) and supports defaults, descriptions, custom validators, and a zero-dependency, isomorphic bundle for both Node.js and browsers. By default it reads from process.env (with optional overrides), offers configurable error reporting and a strict mode that prevents access to undefined vars.
We haven’t found envsafe in the AI answers we’ve checked.