printEnvAssignment
printEnvAssignment(
name,value,options?):string
Defined in: env/print-env.ts:115
Print one environment variable assignment in the given syntax, quoting the
value as that syntax requires so that parseEnvAssignment reads back exactly
the value given.
Parameters
Section titled “Parameters”string
The environment variable name.
The environment variable value.
options?
Section titled “options?”Options for printing the assignment.
Returns
Section titled “Returns”string
The printed assignment.
Throws
Section titled “Throws”If the name contains =, NUL or a line break, or
if the value has no representation in the requested syntax.