std@0.144.0/permissions

Deno standard library
GitHub Stars
2196
Go to latest
import * as mod from "https://deno.land/std@0.144.0/permissions/mod.ts";

Helpers for interacting with Deno's permissions system.

Functions

grant

Attempts to grant a set of permissions, resolving with the descriptors of the permissions that are granted.

grantOrThrow

Attempts to grant a set of permissions or rejects.