super-fetch

0

Описание

Легковесная библиотека для строготипизированных запросов на TypeScript с нулевой зависимостью

Языки

  • TypeScript99,5%
  • JavaScript0,5%
README.md

Poster

Super Fetch

The Super Fetch library is a lightweight ESM library (48.8 kB unpacked) that provides a strict and secure interface for making HTTP requests using the Fetch API.

Features

  • API: fetch based on API repository with an opportunity to define query parameters, express-like path parameters, success and error response bodies and request body.
  • Simple: a simplified way to make calls using
    .get
    ,
    .post
    and other REST API methods.
  • Linked sequence: A codependent request environment in which old requests cannot overlap new ones.
  • Long polling: Customizable long-polling requests.

Documentation

Work on documentation still in progress, but you can see useful examples on super-fetch documentation.

Installation

You can install the Super Fetch library via npm:

Contributing

Contributions are welcome! If you encounter any bugs or have suggestions for improvements, please open an issue or submit a pull request in this repository.

License

This project is licensed under the MIT License.