.env files are used to store environment variables in a certain project. I am looking to be able to easily programmatically modify an .env file, and in that case using JSON (a .json file) would be much easier as far as I can tell.
Say I had file like so env.json:
{
"use_shell_version": true,
"verbosityLevel":3,
"color": "yellow"
}
is there a good way to export those? Is there some .env file format that is easily modified by machines instead of by hand?
.env
, such as this one which can return an Object representation – Alan Friedman.env
variable. I know how to do it, I'm just looking for a tool that does it. – Gal Grünfeld