deno.com

interface Deno.ImportPermissionDescriptor

The permission descriptor for the allow-import and deny-import permissions, which controls access to importing from remote hosts via the network. The option host allows scoping the permission for outbound connection to a specific host and port.

Properties #

#name: "import"
#host: string
optional

Optional host string of the form "<hostname>[:<port>]". Examples:

"github.com" "deno.land:8080"