method Deno.Env.set
Jump to headingEnv.set(key: string,value: string,): void
Set the value of an environment variable.
Deno.env.set("SOME_VAR", "Value");
Deno.env.get("SOME_VAR"); // outputs "Value"
Requires allow-env
permission.
Parameters Jump to heading
Jump to headingkey: string
Jump to headingvalue: string
Return Type Jump to heading
void