{"id":19451769,"url":"https://github.com/zhengxs2018/miniprogram-plugin-http","last_synced_at":"2025-02-25T09:26:42.438Z","repository":{"id":118133637,"uuid":"172225540","full_name":"zhengxs2018/miniprogram-plugin-http","owner":"zhengxs2018","description":"小程序 http 请求插件，后期将兼容其他小程序环境，fork of axios","archived":false,"fork":false,"pushed_at":"2019-03-07T10:10:51.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-07T23:53:36.906Z","etag":null,"topics":["http","minprogram","plugin"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/zhengxs2018.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":"2019-02-23T14:46:32.000Z","updated_at":"2019-05-02T11:21:49.000Z","dependencies_parsed_at":"2023-07-06T15:31:05.871Z","dependency_job_id":null,"html_url":"https://github.com/zhengxs2018/miniprogram-plugin-http","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhengxs2018%2Fminiprogram-plugin-http","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhengxs2018%2Fminiprogram-plugin-http/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhengxs2018%2Fminiprogram-plugin-http/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhengxs2018%2Fminiprogram-plugin-http/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zhengxs2018","download_url":"https://codeload.github.com/zhengxs2018/miniprogram-plugin-http/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240639237,"owners_count":19833444,"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":["http","minprogram","plugin"],"created_at":"2024-11-10T16:42:54.072Z","updated_at":"2025-02-25T09:26:42.409Z","avatar_url":"https://github.com/zhengxs2018.png","language":"JavaScript","readme":"# miniprogram-plugin-http\n\n[![JavaScript Style Guide][badge:standardjs]][standardjs]\n\n小程序 http 请求插件，后期将兼容其他小程序环境\n\n## 目录结构\n\n```text\nProject/\n├── .babelrc                      语法兼容配置 - 仅用于单元测试\n├── .eslintrc.js                  代码检查配置 - 仅用于构建\n├── jsdoc.json                    api 文档配置\n├── bundle-analyzer-report.html   构建后的包分析报告\n├── rollup.config.js              构建配置\n├── coverage/                     测试覆盖率报告\n├── dist/                         源码构建目录\n├── doc/                          文档构建目录\n├── src/                          源码目录\n└── test/\n    ├── unit/                    单元测试目录\n    └── .eslintrc                代码检查配置 - 仅用于测试（源码检查）\n```\n\n## 开发步骤\n\n你需要安装 Node.js 的版本为 6+.\n\n克隆此仓库后运行:\n\n```bash\n# 安装依赖\n$ npm install\n\n# 构建生产代码\n$ npm run build\n\n# 观察文件变化并且进行不压缩构建\n$ npm run build --no-minify -- --watch\n\n# 构建生产代码并且生成包分析报告\n$ npm run build --report\n\n# 生成 API 文档.\n$ npm run doc\n```\n\n在 package.json 文件的 scripts 部分还有一些其他脚本可用.\n\n## 运行单元测试\n\n```bash\n# 运行单元测试，已内置代码覆盖率的功能\n$ npm test\n\n# 生成测试覆盖率报告\n$ npm run report\n```\n\n## 版本发布\n\n```bash\n# 更新版本，内置代码检查\n$ npm version \u003cnewversion|major|minor|patch\u003e\n\n# 发布包，内置代码构建\n$ npm publish\n```\n\nSee [npm](https://docs.npmjs.com/) for more help.\n\n## 更新日志\n\nSee [CHANGELOG.md](./CHANGELOG.md)\n\n## 待办事项\n\nSee [TODO.md](./TODO.md)\n\n[nodejs]: https://nodejs.org\n[rollupjs]: https://rollupjs.org\n[standardjs]: https://standardjs.com\n[badge:standardjs]: https://img.shields.io/badge/code_style-standard-brightgreen.svg\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhengxs2018%2Fminiprogram-plugin-http","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzhengxs2018%2Fminiprogram-plugin-http","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhengxs2018%2Fminiprogram-plugin-http/lists"}