NodeutilparseEnvfunction parseEnv#parseEnv(content: string): objectStability: 1.1 - Active development Given an example .env file: import { parseEnv } from 'node:util'; parseEnv('HELLO=world\nHELLO=oh my\n'); // Returns: { HELLO: 'oh my' } Parameters ##content: stringThe raw contents of a .env file. Return Type #object
function parseEnv#parseEnv(content: string): objectStability: 1.1 - Active development Given an example .env file: import { parseEnv } from 'node:util'; parseEnv('HELLO=world\nHELLO=oh my\n'); // Returns: { HELLO: 'oh my' } Parameters ##content: stringThe raw contents of a .env file. Return Type #object