{"id":32486356,"url":"https://github.com/fefeding/jm-egg-framework","last_synced_at":"2026-07-14T00:31:28.745Z","repository":{"id":147746880,"uuid":"227016114","full_name":"fefeding/jm-egg-framework","owner":"fefeding","description":"个人的egg框架","archived":false,"fork":false,"pushed_at":"2024-05-24T07:53:14.000Z","size":860,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-27T05:51:37.174Z","etag":null,"topics":["eggjs","framework"],"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/fefeding.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":"2019-12-10T02:56:35.000Z","updated_at":"2024-05-24T07:53:17.000Z","dependencies_parsed_at":"2023-05-27T09:45:13.070Z","dependency_job_id":null,"html_url":"https://github.com/fefeding/jm-egg-framework","commit_stats":null,"previous_names":["fefeding/jm-egg-framework"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fefeding/jm-egg-framework","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fefeding%2Fjm-egg-framework","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fefeding%2Fjm-egg-framework/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fefeding%2Fjm-egg-framework/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fefeding%2Fjm-egg-framework/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fefeding","download_url":"https://codeload.github.com/fefeding/jm-egg-framework/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fefeding%2Fjm-egg-framework/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35441637,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-13T02:00:06.543Z","response_time":119,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["eggjs","framework"],"created_at":"2025-10-27T05:50:14.342Z","updated_at":"2026-07-14T00:31:28.740Z","avatar_url":"https://github.com/fefeding.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @fefeding/egg-framework\n基于egg框架的上层framework\n\n## 插件使用指南\n在根目录`package.json`中,配置`egg.framework`  \n```\n  \"egg\": {\n    \"framework\": \"@fefeding/egg-framework\"\n  }\n```  \n配置完成项目之后,安装依赖  \n```\nnpm i\n```\n启动项目  \n```\nnpm run dev\n```\n\n## framework扩展配置  \n### framework/extend扩展配置  \n进入`app/extend`扩展目录  \n```\ncd app/extend\n```\n可分别对`application.js`、`context.js`、`helper.js`、`request.js`、`response.js`进行定制化配置\n\n增加对应的配置之后，需在根目录的`index.d.ts`增加导入的函数提示\n如在`context.js`增加了获取当前`ua`的配置  \n```\nget ua() {\n    return this.get('user-agent');\n}\n```  \n在index.d.ts中进行同步  \n```\n/**\n* 获取当前user-agent\n* @property ua\n*/\nua: string\n```\n\n### framework/config扩展配置  \n进入`app/config/config.default.js`扩展配置  \n```\ncd app/config\n```  \n增加对应的配置，如增加`config.keys`的配置\n```\nconfig.keys = 'jm-egg-framework-keys'\n```\n\n### framework/plugin插件扩展配置\n进入`app/config/plugin.js`插件扩展配置  \n```\ncd app/config\n``` \n增加对应的插件配置，如增加`vuessr`插件\n```\nvuessr: {\n    package: 'egg-view-vue-ssr'\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffefeding%2Fjm-egg-framework","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffefeding%2Fjm-egg-framework","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffefeding%2Fjm-egg-framework/lists"}