{"id":20896208,"url":"https://github.com/waitingsong/fetch","last_synced_at":"2025-10-24T14:38:15.725Z","repository":{"id":42158667,"uuid":"142515057","full_name":"waitingsong/fetch","owner":"waitingsong","description":"Observable HTTP fetch API for browser and Node.js. Handle 302/303 redirect correctly on Node.js","archived":false,"fork":false,"pushed_at":"2024-11-10T15:39:57.000Z","size":2455,"stargazers_count":12,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-11-12T14:05:57.874Z","etag":null,"topics":["fetch","http","typescript","undici"],"latest_commit_sha":null,"homepage":"","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/waitingsong.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-27T02:00:38.000Z","updated_at":"2024-11-10T15:40:00.000Z","dependencies_parsed_at":"2024-04-07T09:27:43.023Z","dependency_job_id":"0f52da36-ede5-4aae-9c87-6c41ad36bff5","html_url":"https://github.com/waitingsong/fetch","commit_stats":{"total_commits":1789,"total_committers":3,"mean_commits":596.3333333333334,"dds":0.09949692565679147,"last_synced_commit":"8d5be5bb7d1dfb9427b3143e36e028974b8d588c"},"previous_names":["waitingsong/rxxfetch"],"tags_count":206,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waitingsong%2Ffetch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waitingsong%2Ffetch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waitingsong%2Ffetch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waitingsong%2Ffetch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/waitingsong","download_url":"https://codeload.github.com/waitingsong/fetch/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224917287,"owners_count":17391822,"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":["fetch","http","typescript","undici"],"created_at":"2024-11-18T10:34:17.927Z","updated_at":"2025-10-24T14:38:15.668Z","avatar_url":"https://github.com/waitingsong.png","language":"TypeScript","readme":"# Node Fetch\n\n\n[![GitHub tag](https://img.shields.io/github/tag/waitingsong/fetch.svg)]()\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n[![](https://img.shields.io/badge/lang-TypeScript-blue.svg)]()\n[![ci](https://github.com/waitingsong/fetch/workflows/ci/badge.svg)](https://github.com/waitingsong/fetch/actions?query=workflow%3A%22ci%22)\n[![codecov](https://codecov.io/gh/waitingsong/fetch/branch/main/graph/badge.svg?token=v1yioFcT20)](https://codecov.io/gh/waitingsong/fetch)\n\n\n## Note\n\nESM build only, requires `@midwayjs \u003e= 3.16` and set `\"type\": \"module\"` in `packages.json`\n\n## Install global deps for development\n```sh\nnpm i -g c8 lerna madge rollup tsx zx\n```\n\n## 创建新项目\n\n## Installation\n```sh\nnpm i @waiting/fetch\n// for Midway.js\nnpm i @mwcp/fetch\n```\n\n\n## Usage\n- [fetch](https://github.com/waitingsong/fetch/tree/main/packages/fetch/test)\n- [@mw-components/fetch](https://github.com/waitingsong/fetch/tree/main/packages/midway-component-fetch/test)\n\n\n# 初始化依赖\nnpm install\n```\n\n## Packages\n\n| Package         | Version                |\n| --------------- | ---------------------- |\n| [`fetch`]       | [![main-svg]][main-ch] |\n| [`@mwcp/fetch`] | [![mw-svg]][mw-ch]     |\n\n## Initialize and install dependencies\n\nrun it at first time and any time\n```sh\nnpm run repo:init\n```\n\n\n## License\n[MIT](LICENSE)\n\n\n\u003cbr\u003e\n\n[`fetch`]: https://github.com/waitingsong/fetch/tree/main/packages/fetch\n[main-svg]: https://img.shields.io/npm/v/@waiting/fetch.svg?maxAge=300\n[main-ch]: https://github.com/waitingsong/fetch/tree/main/packages/fetch/CHANGELOG.md\n\n[`@mwcp/fetch`]: https://github.com/waitingsong/fetch/tree/main/packages/midway-component-fetch\n[mw-svg]: https://img.shields.io/npm/v/@mwcp/fetch.svg?maxAge=7200\n[mw-ch]: https://github.com/waitingsong/fetch/tree/main/packages/midway-component-fetch/CHANGELOG.md\n\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwaitingsong%2Ffetch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwaitingsong%2Ffetch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwaitingsong%2Ffetch/lists"}