Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/teofanis/composite-fetcher
Unleash the Power of Fetch with Composite Fetcher: A Highly Extensible and Customisable Fetch Wrapper with Plugin Support!
https://github.com/teofanis/composite-fetcher
composite-fetcher fetch fetcher fetching http-requests plugin requests
Last synced: 3 months ago
JSON representation
Unleash the Power of Fetch with Composite Fetcher: A Highly Extensible and Customisable Fetch Wrapper with Plugin Support!
- Host: GitHub
- URL: https://github.com/teofanis/composite-fetcher
- Owner: teofanis
- License: mit
- Created: 2023-08-27T14:32:53.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-08T23:33:27.000Z (7 months ago)
- Last Synced: 2024-10-11T15:48:50.196Z (4 months ago)
- Topics: composite-fetcher, fetch, fetcher, fetching, http-requests, plugin, requests
- Language: TypeScript
- Homepage: https://www.composite-fetcher.com
- Size: 1.52 MB
- Stars: 9
- Watchers: 0
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# 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](https://www.composite-fetcher.com/)
## Packages/Plugins
### Core
The core functionality of the Composite Fetcher.
- [Read more about Core](https://github.com/teofanis/composite-fetcher/blob/main/packages/core/README.md)### With Caching
A simple fetcher core plugin to manage request caching with different drivers.
- [Read more about With Caching](https://github.com/teofanis/composite-fetcher/blob/main/packages/with-caching/README.md)### With Logging
A simple logging plugin for the Composite Fetcher.
- [Read more about With Logging](https://github.com/teofanis/composite-fetcher/blob/main/packages/with-logging/README.md)### With Retries
A simple fetcher core plugin to handle and retry failed requests
- [Read more about With Retries](https://github.com/teofanis/composite-fetcher/blob/main/packages/with-retries/README.md)## Installation
To install the core package:
```bash
npm install @composite-fetcher/core
```To install the caching plugin:
```bash
npm install @composite-fetcher/with-caching
```To install the logging plugin:
```bash
npm install @composite-fetcher/with-logging
```To install the retries plugin:
```bash
npm install @composite-fetcher/with-retries
```