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

x/netsaur/deps.ts>FetchOptions

Powerful machine learning, accelerated by WebGPU
Go to Latest
type alias FetchOptions
Re-export
import { type FetchOptions } from "https://deno.land/x/netsaur@0.2.2/deps.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:

  • URLOptions or CrossOptions for controlling the source url
  • NamedOptions for automatically creating cross-platform binary names
  • CacheOptions for controlling the cache behaviour
definition: string | URL | ((((URLOptions | CrossOptions) & Partial<NamedOptions>)) & CacheOptions)