Skip to main content
Module

x/plug/types.ts>FetchOptions

🔌 Deno FFI helper module
Go to Latest
type alias FetchOptions
import { type FetchOptions } from "https://deno.land/x/plug@1.0.1/types.ts";

Options for fetching files (usually being dynamic libraries, but could possibly also be other dependencies) using plug. This can be either a string or an URL. All urls in plug can be either local or remote. If it is not an string or URL it can be some combination of the following options:

definition: string | URL | ((((URLOptions | CrossOptions) & Partial<NamedOptions>)) & CacheOptions)