https://github.com/jouryjc/atomic-request
A library for aggregating API requests
https://github.com/jouryjc/atomic-request
aggregation
Last synced: 10 months ago
JSON representation
A library for aggregating API requests
- Host: GitHub
- URL: https://github.com/jouryjc/atomic-request
- Owner: Jouryjc
- License: mit
- Created: 2022-05-12T14:59:56.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-08-01T15:02:29.000Z (over 3 years ago)
- Last Synced: 2025-04-18T23:59:54.127Z (10 months ago)
- Topics: aggregation
- Language: TypeScript
- Homepage: https://github.com/Jouryjc/atomic-requests
- Size: 611 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Atomic Request
> 用于在浏览器做多个接口的流程编排和数据聚合
 [](https://github.com/Jouryjc/atomic-requests/actions/workflows/ci.yml) [](https://codecov.io/gh/Jouryjc/atomic-requests)
## ✨ 功能
- [x] 支持并行的请求模式
- [x] 支持串行的请求编排
- [x] 能够灵活定义接口依赖
- [x] 不限制具体的请求库,可以用 XHR、Fetch、axios,只要请求函数能够满足 Promise 规范即可接入
- [x] 支持熔断机制
- [x] 支持重试机制,可以根据不同接口制定不同的重试次数
- [ ] 数据处理,支持多个请求数据的聚合、排序、分组等
## 🎇 Repobeats
