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

x/ayonli_jsext/lib.deno.d.ts>Deno.FfiPermissionDescriptor

A JavaScript extension package for building strong and modern applications.
Latest
interface Deno.FfiPermissionDescriptor
import { type Deno } from "https://deno.land/x/ayonli_jsext@v0.9.72/lib.deno.d.ts";
const { FfiPermissionDescriptor } = Deno;

The permission descriptor for the allow-ffi and deny-ffi permissions, which controls access to loading foreign code and interfacing with it via the Foreign Function Interface API available in Deno. The option path allows scoping the permission to a specific path on the host.

Properties

name: "ffi"
optional
path: string | URL

Optional path on the local host to scope the permission to.