Creates a new wretch instance with a base url and base fetch options.
import wretch from "wretch"// Reusable instanceconst w = wretch("https://domain.com", { mode: "cors" })
A fresh wretch instance
The base url
The base fetch options
Generated using TypeDoc
Creates a new wretch instance with a base url and base fetch options.
Returns
A fresh wretch instance