- What .env format does it parse?
- Standard dotenv syntax: KEY=value per line, optional quotes around values with spaces, # for comments, \\n for newlines inside values.
- Are comments preserved?
- No — JSON has no comment concept. Line comments are stripped silently. Attached comments (`KEY=value # comment`) have the comment part discarded.
- How does it handle multi-line values?
- Quoted values that span multiple lines are joined. Backslash-newline continuations are also supported. The output JSON string uses `\n` for line breaks.
- What about variable interpolation (${OTHER})?
- Not resolved — treated as literal string. To resolve, use a dotenv library in Node that expands references first.