Deno.EnvPermissionDescriptor - Deno documentation
interface Deno.EnvPermissionDescriptor

The permission descriptor for the allow-env and deny-env permissions, which controls access to being able to read and write to the process environment variables as well as access other information about the environment. The option variable allows scoping the permission to a specific environment variable.


name: "env"
variable: string

Optional environment variable name (e.g. PATH).