Skip to content

@briklab/reqor

@briklab/reqor is a small wrapper for the fetch function which lets you easily use fetch without any complexity.

Install

Follow the common installation tutorial

Quick Start

js
import reqor from "@briklab/reqor"
const url = "https://google.com" // or your own url. this url is just a placeholder
const response = await reqor(url).retry(5).get() // get with 5 retries
console.log(response)

API

Exported:

Functions:

Other (Not Exported but used in reqor internally):

Classes:

Types:

Namespaces:

  • [Reqor (merged into Reqor)](namespaces/reqor.md)

Tutorials