Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

std/permissions/mod.ts

The Deno Standard Library
Go to Latest
Deprecated

(will be removed in 1.0.0) Use the Deno Permissions API directly instead.

import * as mod from "https://deno.land/std@0.223.0/permissions/mod.ts";

Helpers for interacting with Deno's permissions system.

Functions

f
grant
deprecated

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

f
grantOrThrow
deprecated

Attempts to grant a set of permissions or rejects.