{"id":17809429,"url":"https://github.com/wsw0108/edan","last_synced_at":"2025-10-23T15:54:52.282Z","repository":{"id":57158786,"uuid":"85925449","full_name":"wsw0108/edan","owner":"wsw0108","description":"Expose options passed to app as `appInfo.options` and `app.config.appOptions`","archived":false,"fork":false,"pushed_at":"2017-12-27T09:33:16.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-24T14:11:30.629Z","etag":null,"topics":["egg","egg-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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wsw0108.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-23T08:32:16.000Z","updated_at":"2017-03-23T08:38:08.000Z","dependencies_parsed_at":"2022-09-07T21:21:54.916Z","dependency_job_id":null,"html_url":"https://github.com/wsw0108/edan","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/wsw0108/edan","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wsw0108%2Fedan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wsw0108%2Fedan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wsw0108%2Fedan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wsw0108%2Fedan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wsw0108","download_url":"https://codeload.github.com/wsw0108/edan/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wsw0108%2Fedan/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262455086,"owners_count":23313987,"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":["egg","egg-framework"],"created_at":"2024-10-27T15:18:39.166Z","updated_at":"2025-10-10T16:25:18.389Z","avatar_url":"https://github.com/wsw0108.png","language":"JavaScript","readme":"# edan\n\nExpose options passed to app as `appInfo.options` and `app.config.appOptions`.\n\n## Usage\n\nyou can use options passed to an app like below:\n```\n// config/config.${env}.js\nmodule.exports = appInfo =\u003e {\n  const config = {};\n  config.something = appInfo.options.something;\n  return config;\n}\n```\nor\n```\n// app.js\nmodule.exports = app =\u003e {\n  console.log(app.config.appOptions);\n}\n```\n\n## License\n\n[MIT](LICENSE)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwsw0108%2Fedan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwsw0108%2Fedan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwsw0108%2Fedan/lists"}