Text Master

by Thankless Technologies

Env to JSON

Convert .env-style KEY=VALUE lines to a JSON object. Comments (#) and blank lines are skipped.

Example

HOST=localhost, PORT=3000 → {"HOST":"localhost","PORT":"3000"}

DB_URL=postgres://... → {"DB_URL":"postgres://..."}

USED IN COOKBOOKS