Skip to content

caganseyrek/EasyRequester

Repository files navigation

EasyRequester

GitHub License GitHub repo size GitHub code size in bytes

EasyRequester is a modular HTTP client wrapper designed to be easy to use. It provides a simple, structured approach for making HTTP requests with the Fetch API with type safety, and without any dependencies.

Key Features

  • Built-in methods for handling race conditions
  • Built-in debugger for detailed outputs
  • Built-in TypeScript support for type safety

Installation

EasyRequester is not available as an NPM package (at least currently).

You either can clone the repository and use it:

git clone https://github.com/caganseyrek/EasyRequester.git
cd path/to/EasyRequester

Or include the compiled source file from the dist/ folder in the repository:

dist/
├── easy-requester.js
└── easy-requester.min.js
src/
└── ...
eslint.config.mjs
package.json
tsconfig.json
...

Documentation

For detailed documentation, please see the project wiki.

Roadmap

  • Interceptors
  • Timeout Handling
  • Request Throttling
  • Request Deduplication
  • Custom Middleware Support
  • Retry Mechanism
  • CLI Support for Sending Requests
  • Automatic Token Refresh
  • Plugin system (?)

License

This project is open-source and licensed under MIT License.

About

TypeScript-based HTTP client wrapper

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Contributors 2

  •  
  •