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

x/deno/cli/dts/lib.deno.ns.d.ts>Deno.FfiPermissionDescriptor

A modern runtime for JavaScript and TypeScript.
Go to Latest
interface Deno.FfiPermissionDescriptor
import { type Deno } from "https://deno.land/x/deno@v1.28.1/cli/dts/lib.deno.ns.d.ts";
const { FfiPermissionDescriptor } = Deno;

The permission descriptor for the allow-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.