Skip to content

HTTP client based on Fetch API with built-in support for retries, timeouts, and JSON handling.

License

Notifications You must be signed in to change notification settings

madebyoutloud/reqo

Repository files navigation

Reqo

HTTP client based on Fetch API with built-in support for retries, timeouts, and JSON handling.

TypeScript Version Downloads License

Installation

npm install @outloud/reqo

Usage

import { reqo } from '@outloud/reqo'

const data = await reqo.$get<{ status: boolean }>('https://api.example.com/data', {}, {
  retry: { limit: 3 },
  timeout: 5000
})

console.log(data) // { status: true }

Documentation

To learn more, check documentation.

About

HTTP client based on Fetch API with built-in support for retries, timeouts, and JSON handling.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •