{"library":"typed-env","type":"library","category":null,"description":"typed-env is a TypeScript-first library designed for parsing environment variables with strong type safety. Its current stable version is 2.0.0, which notably incorporates features from `neon-env` following a recent merge, indicating active development. This library provides mechanisms to define schemas for environment variables, ensuring that values are correctly parsed into specified types like numbers or URLs. Key differentiators include support for custom parsers, allowing complex transformations; the ability to define `choices` to restrict variable values to a predefined set of strings; and the flexibility to supply a custom `env` object instead of relying solely on `process.env`. It's particularly useful in applications requiring robust configuration management and type validation at runtime, helping prevent common configuration-related errors.","language":"javascript","status":"active","version":"2.0.0","tags":["javascript","environment variables","env","parser","env parser","typescript","typed","config"],"last_verified":"Wed May 27","install":[{"cmd":"npm install typed-env","imports":["import { createEnv } from 'typed-env';"]},{"cmd":"yarn add typed-env","imports":[]},{"cmd":"pnpm add typed-env","imports":[]}],"homepage":"https://typed-env.vercel.app","github":"https://github.com/itslukej/typed-env","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/typed-env","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/typed-env/compatibility"}}