Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
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.0-rc.3/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)