A Very Good Fetch API

Elevate your coding experience by supercharging the native fetch() API! Unlock unprecedented flexibility and harness the power of modular functionalities to effortlessly tackle complex tasks with just a glance.

  • Works with any JS runtime
  • Powerful Configurations system
  • Tree shakable
  • Interceptors, a powerful way to intercept and modify your requests, responses, and errors in a simple way
  • Modules, serve as powerful utility classes offering specialized behaviors with ease
  • Caching, simple caching system to help you optimize the performance of your Api request/endpoint
  • TS Support, The library is fully written in typescript, adding to that, with the help of JSDocs, you can understand what each method and property exactly does and how to use it.
Bash
$npm i very-good-fetch
Click to copy

Why...?

Super Fast

Engineered for speed and performance, it emulates the native fetch API experience with minimal size and performance impact.

Light as a Feather

With the power of tree-shaking, you'll only get what you need... ONLY!

Agnostic

It can run everywhere, you can even use it to work as a wrapper for something like node-fetch or any other third-party library provides a fetch API.

So Native

Mirror the functionality of the native API seamlessly—do everything here just the way you do it with the native fetch API.

Extensible.

Empower ANY function with versatile modules for throttling, debouncing, and more.

TS Support

I mean... who could possibly say that it's not an important thing to have?!