Re:Node.js 20.6.0 will include built-in support for .env files
by sonthonax on Friday August 18, 2023 @10:26AM
(#37176081)
It's a shell script that should be executable by any UNIX shell. Parsing it (rather than executing it) is why those questions are raised.
[ Parent
| on HN ]
Re:Node.js 20.6.0 will include built-in support for .env files
by claytongulick on Friday August 18, 2023 @10:45AM
(#37176368)
In the nodejs community it's normally used via dotenv.
So, yes it's parsed and a valid use case.