I have a string that I got through fs.readFile of a js file.
const content = "{ host: env("HOST", "0.0.0.0"), port: env.int("PORT", 1337), app: { keys: env.array("APP_KEYS"), },}"
I need to convert it back to an object so I can check some things and re-write the file if needed.
JSON.parse won't work.