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

x/permissionGuard/mod.ts

A zero-dependency, minimal permission guard for Deno.
Latest
import * as permissionguard from "https://deno.land/x/permissionGuard@2.4.0/mod.ts";

Variables

A denied status for a permission.

The "powerful feature" "env" which needs permission.

A granted status for a permission.

The "powerful feature" "hrtime" which needs permission.

The "powerful feature" "net" which needs permission.

The "powerful feature" "plugin" which needs permission.

A prompt status for a permission.

The "powerful feature" "read" which needs permission.

The "powerful feature" "run" which needs permission.

The "powerful feature" "write" which needs permission.

Functions

Provides a set of defences for your application.

Interfaces

Configuration for the guard.

Type Aliases

A Deno permission name or a full permission descriptor.