<story><title>Node.js 20.6.0 will include built-in support for .env files</title><url>https://twitter.com/kom_256/status/1692225622091706389</url></story><parent_chain><item><author>SOLAR_FIELDS</author><text>.env desperately needs a formal specification. I wrote a bit of code using some features python_dotenv offers but realized after the fact that other software might not parse it the same way. I’ve taken to instead doing my templating in Python itself via pydantic BaseSettings</text></item></parent_chain><comment><author>dubcanada</author><text>Isn&amp;#x27;t it just environment variables but rather then setting it manually it&amp;#x27;s in a file?&lt;p&gt;So the spec is the same as regular environment variables?</text></comment>
<story><title>Node.js 20.6.0 will include built-in support for .env files</title><url>https://twitter.com/kom_256/status/1692225622091706389</url></story><parent_chain><item><author>SOLAR_FIELDS</author><text>.env desperately needs a formal specification. I wrote a bit of code using some features python_dotenv offers but realized after the fact that other software might not parse it the same way. I’ve taken to instead doing my templating in Python itself via pydantic BaseSettings</text></item></parent_chain><comment><author>andrew_</author><text>&lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;www.npmjs.com&amp;#x2F;package&amp;#x2F;dotenv&quot; rel=&quot;nofollow noreferrer&quot;&gt;https:&amp;#x2F;&amp;#x2F;www.npmjs.com&amp;#x2F;package&amp;#x2F;dotenv&lt;/a&gt; is the gold standard imho. they have a few other packages you can add-on that expand its functionality. I have a custom package which utilizes dotenv, dotenv-expand, and find-up for a truly delightful DX.</text></comment>