{"id":19454830,"url":"https://github.com/gssify/nei-proxy-middleware","last_synced_at":"2025-07-23T19:04:56.888Z","repository":{"id":126189135,"uuid":"125014048","full_name":"gssify/nei-proxy-middleware","owner":"gssify","description":"A api proxy middleware for NEI(https://nei.netease.com)","archived":false,"fork":false,"pushed_at":"2018-03-16T10:15:56.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-25T10:33:06.576Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/gssify.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"publiccode":null,"codemeta":null}},"created_at":"2018-03-13T08:03:01.000Z","updated_at":"2018-03-16T10:15:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"e2c2f434-5715-4854-a1b2-1a491501318b","html_url":"https://github.com/gssify/nei-proxy-middleware","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gssify/nei-proxy-middleware","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gssify%2Fnei-proxy-middleware","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gssify%2Fnei-proxy-middleware/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gssify%2Fnei-proxy-middleware/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gssify%2Fnei-proxy-middleware/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gssify","download_url":"https://codeload.github.com/gssify/nei-proxy-middleware/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gssify%2Fnei-proxy-middleware/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266737719,"owners_count":23976392,"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","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-10T17:12:10.517Z","updated_at":"2025-07-23T19:04:56.857Z","avatar_url":"https://github.com/gssify.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NEI Proxy Middleware\n\nNEI(https://nei.netease.com/) 平台接口转换工具，可以像使用 easy-mock 一样使用\n\n## 使用\n\n### 安装\n```js\nnpm install --save-dev nei-proxy-middleware\n```\n\n### 开发服务器配置\n```js\nconst express = require('express')\nconst neiProxyMiddleware = require('nei-proxy-middleware')\nconst app = express()\napp.use(neiProxyMiddleware({ key: 'NEI_KEY', mockname: 'neimock', rule: '/api' }))\n\napp.listen(3000)\n```\n\n\n### 业务代码修改\n```js\nrequest('http://foo.com/api/bar?neimock=true', function (data) {\n  // data: remote from nei\n})\n```\n\n## 问题\n\n不支持 Koa\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgssify%2Fnei-proxy-middleware","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgssify%2Fnei-proxy-middleware","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgssify%2Fnei-proxy-middleware/lists"}