Skip to main content

EnvPermissionDescriptor

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.

Properties Jump to heading

optional
Jump to headingvariable: string

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

Back to top