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.
- Built-in methods for handling race conditions
- Built-in debugger for detailed outputs
- Built-in TypeScript support for type safety
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/EasyRequesterOr 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
...
For detailed documentation, please see the project wiki.
- Interceptors
- Timeout Handling
- Request Throttling
- Request Deduplication
- Custom Middleware Support
- Retry Mechanism
- CLI Support for Sending Requests
- Automatic Token Refresh
- Plugin system (?)
This project is open-source and licensed under MIT License.