Hi, I'd like to ask for a feature review of package I've created:
https://github.com/dawidhermann/flow-pipe (name might be changed)
To be clear, this is just about the README; I'm not looking for a code review 🙂 I'm wondering if implementing a package I've been wanting for a while will bring anything interesting to the ecosystem, or if it's just redundant.
TL;DR;
I once worked on a project where I had to make a lot of API requests. Displaying anything on the UI involved querying a single endpoint, extracting an ID from the response and making another query, etc. Back then I created a simple Axios wrapper that helped me with this. This package is an extension of that idea.
Summary prepared by LLM:
"A TypeScript library for creating and managing HTTP query chains. Its main goal is to simplify processes in which the result of one query is necessary to execute the next (e.g., login -> fetch profile -> fetch user posts).
Key Features
Query Chaining: Allows sequential execution of requests, where each subsequent step has access to the result of the previous one.
Modular Adapters: The library does not impose a specific HTTP client. You can use built-in adapters for Fetch, Axios, Superagent, or write your own.
Automatic Retry: Built-in error handling mechanism with a configurable number of attempts and exponential backoff.
Data Transformation (Mappers): Ability to map results on the fly before passing them to the next step or returning the final result.
The library is based on a simple schema:
begin(): Initializes the chain with the first query and the selected adapter.
.next(): Adding subsequent steps that can dynamically build the configuration based on previous results.
.execute() / .executeAll(): Executing the operation (returning only the last result or an array of all results)"