Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

For a more modern approach to .env files that includes built-in validation and type-safety, check out https://varlock.dev

Instead of a .env.example (which quickly gets out of date), it uses a .env.schema - which contains extra metadata as decorator comments. It also introduces a new function call syntax, to securely load values from external sources.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: