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

x/deno/cli/js/lib.deno_runtime.d.ts>Deno.PermissionName

A modern runtime for JavaScript and TypeScript.
Go to Latest
type alias Deno.PermissionName
import { type Deno } from "https://deno.land/x/deno@v0.28.0/cli/js/lib.deno_runtime.d.ts";
const { PermissionName } = Deno;

Permissions as granted by the caller See: https://w3c.github.io/permissions/#permission-registry

definition:
| "run"
| "read"
| "write"
| "net"
| "env"
| "plugin"
| "hrtime"