Skip to content

Unleash the Power of Fetch with Composite Fetcher: A Highly Extensible and Customisable Fetch Wrapper with Plugin Support!

License

Notifications You must be signed in to change notification settings

teofanis/composite-fetcher

Repository files navigation

Composite Fetcher

Composite Fetcher is a robust fetch wrapper designed to supercharge your fetch API requests by providing a highly customizable and extensible interface. With its powerful plugin system, you can easily modify requests and responses, implement caching, handle errors globally, and much more, all with minimal code. Whether you're building a front-end or back-end application, Composite Fetcher empowers you to create, configure, and manage your HTTP requests with unparalleled flexibility and control.

Read more on the official documentation

Packages/Plugins

Core

The core functionality of the Composite Fetcher.

With Caching

A simple fetcher core plugin to manage request caching with different drivers.

With Logging

A simple logging plugin for the Composite Fetcher.

With Retries

A simple fetcher core plugin to handle and retry failed requests

Installation

To install the core package:

npm install @composite-fetcher/core

To install the caching plugin:

npm install @composite-fetcher/with-caching

To install the logging plugin:

npm install @composite-fetcher/with-logging

To install the retries plugin:

npm install @composite-fetcher/with-retries