mirror of
https://github.com/sharevb/it-tools.git
synced 2026-12-05 10:45:10 +03:00
Converts a flat JSON object into a .env file. Keys are upper-cased, values are safely quoted when they contain whitespace, quotes, or env special characters (#, $, `, \). Nested objects and arrays are JSON-stringified and always quoted; null/undefined become "". Follows the existing FormatTransformer pattern used by the other json-to-* converters, including i18n via useI18n and the built-in .env download button. Co-authored-by: ShareVB <sharevb@gmail.com>