Skip to main content
Home
It is unknown whether this package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
It is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Node.js
It is unknown whether this package works with Deno
It is unknown whether this package works with Bun
It is unknown whether this package works with Browsers
JSR Score
76%
Published
2 years ago (1.0.0)
function default
default(
url: string | URL,
init?: FRequestInit | undefined,
): Fetchling

Create a new Fetchling instance using the given fetch() API arguments.

Parameters

url: string | URL
  • string, Request, or URL - the base resource
optional
init: FRequestInit | undefined

(optional) - FRequestInit or RequestInit object with fetch params

Return Type

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@kwhinnery/fetchling

Import symbol

import module from "@kwhinnery/fetchling";
or

Import directly with a jsr specifier

import module from "jsr:@kwhinnery/fetchling";

Add Package

pnpm i jsr:@kwhinnery/fetchling
or (using pnpm 10.8 or older)
pnpm dlx jsr add @kwhinnery/fetchling

Import symbol

import module from "@kwhinnery/fetchling";

Add Package

yarn add jsr:@kwhinnery/fetchling
or (using Yarn 4.8 or older)
yarn dlx jsr add @kwhinnery/fetchling

Import symbol

import module from "@kwhinnery/fetchling";

Add Package

vlt install jsr:@kwhinnery/fetchling

Import symbol

import module from "@kwhinnery/fetchling";

Add Package

npx jsr add @kwhinnery/fetchling

Import symbol

import module from "@kwhinnery/fetchling";

Add Package

bunx jsr add @kwhinnery/fetchling

Import symbol

import module from "@kwhinnery/fetchling";