Prerequisites
🚀 Feature Proposal
Using util.parseEnv as an alternative to dotenv, possibly eventually replacing dotenv altogether.
Tangentially: Would then also make sense to move dotenv to become an optional peer dependency of env-schema.
Motivation
Since node.js v21.7.0 / v20.12.0 there's util.parseEnv and while its status is still experimental it would be good to start experimenting with it in env-schema and to provide experimental support for it ourselves.
Also, since v17 of dotenv they started logging stuff by default: motdotla/dotenv#874
And v17 was merged automatically in #213
Example
No response
Prerequisites
🚀 Feature Proposal
Using
util.parseEnvas an alternative todotenv, possibly eventually replacingdotenvaltogether.Tangentially: Would then also make sense to move
dotenvto become an optional peer dependency ofenv-schema.Motivation
Since node.js
v21.7.0/v20.12.0there'sutil.parseEnvand while its status is still experimental it would be good to start experimenting with it inenv-schemaand to provide experimental support for it ourselves.Also, since v17 of
dotenvthey started logging stuff by default: motdotla/dotenv#874And v17 was merged automatically in #213
Example
No response