{"id":22406581,"url":"https://github.com/roshan-labs/http","last_synced_at":"2025-03-27T01:40:50.917Z","repository":{"id":201006032,"uuid":"706727060","full_name":"roshan-labs/http","owner":"roshan-labs","description":"Nuxt3 $fetch 请求封装","archived":false,"fork":false,"pushed_at":"2024-01-31T07:07:41.000Z","size":289,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-04T08:02:19.150Z","etag":null,"topics":["fetch","http","nuxt","nuxt-module"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/roshan-labs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"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}},"created_at":"2023-10-18T13:58:35.000Z","updated_at":"2024-04-21T12:10:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"e033a875-07ba-4a74-98e1-f9bc38d31409","html_url":"https://github.com/roshan-labs/http","commit_stats":null,"previous_names":["roshan-labs/http"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roshan-labs%2Fhttp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roshan-labs%2Fhttp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roshan-labs%2Fhttp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roshan-labs%2Fhttp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/roshan-labs","download_url":"https://codeload.github.com/roshan-labs/http/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245767196,"owners_count":20668822,"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","nuxt","nuxt-module"],"created_at":"2024-12-05T11:09:02.297Z","updated_at":"2025-03-27T01:40:50.897Z","avatar_url":"https://github.com/roshan-labs.png","language":"TypeScript","readme":"\u003c!--\nGet your module up and running quickly.\n\nFind and replace all on all files (CMD+SHIFT+F):\n- Name: My Module\n- Package name: my-module\n- Description: My new Nuxt module\n--\u003e\n\n# 🔀 @roshan-labs/http\n\n[![npm version][npm-version-src]][npm-version-href]\n[![npm downloads][npm-downloads-src]][npm-downloads-href]\n[![License][license-src]][license-href]\n[![Nuxt][nuxt-src]][nuxt-href]\n\n对 Nuxt $fetch 的封装，统一请求配置\n\n- [✨ \u0026nbsp;Release Notes](/CHANGELOG.md)\n\u003c!-- - [🏀 Online playground](https://stackblitz.com/github/your-org/my-module?file=playground%2Fapp.vue) --\u003e\n\u003c!-- - [📖 \u0026nbsp;Documentation](https://example.com) --\u003e\n\n\u003c!-- Highlight some of the features your module provide here --\u003e\n\n## 使用\n\n1. 添加 `@roshan-labs/http` 到项目中\n\n```bash\n# 使用 pnpm\npnpm add -D @roshan-labs/http\n\n# 使用 yarn\nyarn add --dev @roshan-labs/http\n\n# 使用 npm\nnpm install --save-dev @roshan-labs/http\n```\n\n2. 把 `@roshan-labs/http` 添加进 `nuxt.config.ts` 中 `modules` 选项中\n\n```js\nexport default defineNuxtConfig({\n  modules: [\n    '@roshan-labs/http'\n  ],\n})\n```\n\n现在你可以在项目中使用此模块了 ✨\n\n## 选项\n\n\n\n## 开发\n\n```bash\n# 安装依赖\nnpm install\n\n# 构建垫片\nnpm run dev:prepare\n\n# 运行演练场模式\nnpm run dev\n\n# 构建演练场模式\nnpm run dev:build\n\n# 运行代码检查\nnpm run lint\n\n# 运行测试\nnpm run test\nnpm run test:watch\n\n# 发布\nnpm run release\n```\n\n## License\n\nMIT\n\n\u003c!-- Badges --\u003e\n[npm-version-src]: https://img.shields.io/npm/v/@roshan-labs/http/latest.svg?style=flat\u0026colorA=18181B\u0026colorB=28CF8D\n[npm-version-href]: https://www.npmjs.com/package/@roshan-labs/http\n\n[npm-downloads-src]: https://img.shields.io/npm/dm/my-module.svg?style=flat\u0026colorA=18181B\u0026colorB=28CF8D\n[npm-downloads-href]: https://www.npmjs.com/package/@roshan-labs/http\n\n[license-src]: https://img.shields.io/npm/l/@roshan-labs/http.svg?style=flat\u0026colorA=18181B\u0026colorB=28CF8D\n[license-href]: https://www.npmjs.com/package/@roshan-labs/http\n\n[nuxt-src]: https://img.shields.io/badge/Nuxt-18181B?logo=nuxt.js\n[nuxt-href]: https://nuxt.com\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froshan-labs%2Fhttp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froshan-labs%2Fhttp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froshan-labs%2Fhttp/lists"}