{"id":19084305,"url":"https://github.com/jouryjc/atomic-request","last_synced_at":"2025-04-30T09:11:16.008Z","repository":{"id":50378086,"uuid":"491559672","full_name":"Jouryjc/atomic-request","owner":"Jouryjc","description":"A library for aggregating API requests","archived":false,"fork":false,"pushed_at":"2022-08-01T15:02:29.000Z","size":626,"stargazers_count":7,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-18T23:59:54.127Z","etag":null,"topics":["aggregation"],"latest_commit_sha":null,"homepage":"https://github.com/Jouryjc/atomic-requests","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Jouryjc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-05-12T14:59:56.000Z","updated_at":"2022-10-27T03:40:51.000Z","dependencies_parsed_at":"2022-09-09T22:40:16.704Z","dependency_job_id":null,"html_url":"https://github.com/Jouryjc/atomic-request","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jouryjc%2Fatomic-request","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jouryjc%2Fatomic-request/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jouryjc%2Fatomic-request/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jouryjc%2Fatomic-request/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jouryjc","download_url":"https://codeload.github.com/Jouryjc/atomic-request/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251674577,"owners_count":21625644,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aggregation"],"created_at":"2024-11-09T02:50:47.202Z","updated_at":"2025-04-30T09:11:15.988Z","avatar_url":"https://github.com/Jouryjc.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Atomic Request\n\n\u003e 用于在浏览器做多个接口的流程编排和数据聚合\n\n![https://www.npmjs.com/package/@jour/atomic-requests](https://img.shields.io/npm/v/@jour/atomic-requests)  [![CI](https://github.com/Jouryjc/atomic-requests/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/Jouryjc/atomic-requests/actions/workflows/ci.yml) [![codecov](https://codecov.io/gh/Jouryjc/atomic-requests/branch/main/graph/badge.svg?token=XWVEWXT29O)](https://codecov.io/gh/Jouryjc/atomic-requests)\n\n## ✨ 功能\n\n- [x] 支持并行的请求模式\n- [x] 支持串行的请求编排\n- [x] 能够灵活定义接口依赖\n- [x] 不限制具体的请求库，可以用 XHR、Fetch、axios，只要请求函数能够满足 Promise 规范即可接入\n- [x] 支持熔断机制\n- [x] 支持重试机制，可以根据不同接口制定不同的重试次数\n- [ ] 数据处理，支持多个请求数据的聚合、排序、分组等\n\n##  🎇 Repobeats\n![Alt](https://repobeats.axiom.co/api/embed/3a281333d1b629dfec0ef4bbf2cc493453c66d73.svg \"Repobeats analytics image\")\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjouryjc%2Fatomic-request","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjouryjc%2Fatomic-request","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjouryjc%2Fatomic-request/lists"}