std@0.116.0/permissions

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

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.