Skip to main content
Module

x/json_fetch/index.ts>SearchParamsURL

Enhanced Fetch API with first class support for JSON objects
Latest
class SearchParamsURL
extends URL
import { SearchParamsURL } from "https://deno.land/x/json_fetch@v2.1.0-pre.6/index.ts";

Like URL, but accepts a params argument that is added to the search parameters/query string.

Constructors

new
SearchParamsURL(
url: string | URL,
params?: SearchParamsInit | null,
base?: string | URL,
)