Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ayonli_jsext/lib.deno.d.ts>Deno.EnvPermissionDescriptor

A JavaScript extension package for building strong and modern applications.
Latest
interface Deno.EnvPermissionDescriptor
import { type Deno } from "https://deno.land/x/ayonli_jsext@v0.9.72/lib.deno.d.ts";
const { EnvPermissionDescriptor } = Deno;

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

name: "env"
optional
variable: string

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