Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

SearchURL

import { SearchURL } from "https://raw.githubusercontent.com/worker-tools/json-fetch/master/index.ts";

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

class SearchURL extends URL {
constructor(
url: string | URL,
params?: SearchParamsInit | null,
base?: string | URL,
);
}

§Extends

§Constructors

§
new SearchURL(url: string | URL, params?: SearchParamsInit | null, base?: string | URL)
[src]