JavaScript: node:parseEnv sucks really badly.
This is my version.
Loads all ENV vars to the process.env
- ignore comments (any amount of spaces then
#
) - any
=
after the first is part of the value - keys will always be uppercase and spaces replaced with
_