{"id":25096653,"url":"https://github.com/brickyang/egg-morgan","last_synced_at":"2025-04-02T02:14:25.710Z","repository":{"id":57220630,"uuid":"96054408","full_name":"brickyang/egg-morgan","owner":"brickyang","description":"egg.js plugin for morgan.","archived":false,"fork":false,"pushed_at":"2017-07-04T03:55:36.000Z","size":51,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-08T00:03:05.085Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brickyang.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-07-02T23:30:00.000Z","updated_at":"2020-09-08T07:32:38.000Z","dependencies_parsed_at":"2022-08-29T00:11:59.039Z","dependency_job_id":null,"html_url":"https://github.com/brickyang/egg-morgan","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/brickyang%2Fegg-morgan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brickyang%2Fegg-morgan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brickyang%2Fegg-morgan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brickyang%2Fegg-morgan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brickyang","download_url":"https://codeload.github.com/brickyang/egg-morgan/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246741119,"owners_count":20826066,"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":[],"created_at":"2025-02-07T16:49:23.783Z","updated_at":"2025-04-02T02:14:25.680Z","avatar_url":"https://github.com/brickyang.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# egg-morgan\n\n[![NPM version][npm-image]][npm-url]\n[![build status][travis-image]][travis-url]\n[![Test coverage][codecov-image]][codecov-url]\n[![David deps][david-image]][david-url]\n[![Known Vulnerabilities][snyk-image]][snyk-url]\n[![npm download][download-image]][download-url]\n\n[npm-image]: https://img.shields.io/npm/v/egg-morgan.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/egg-morgan\n[travis-image]: https://img.shields.io/travis/brickyang/egg-morgan.svg?style=flat-square\n[travis-url]: https://travis-ci.org/brickyang/egg-morgan\n[codecov-image]: https://img.shields.io/codecov/c/github/brickyang/egg-morgan.svg?style=flat-square\n[codecov-url]: https://codecov.io/github/brickyang/egg-morgan?branch=master\n[david-image]: https://img.shields.io/david/brickyang/egg-morgan.svg?style=flat-square\n[david-url]: https://david-dm.org/brickyang/egg-morgan\n[snyk-image]: https://snyk.io/test/npm/egg-morgan/badge.svg?style=flat-square\n[snyk-url]: https://snyk.io/test/npm/egg-morgan\n[download-image]: https://img.shields.io/npm/dm/egg-morgan.svg?style=flat-square\n[download-url]: https://npmjs.org/package/egg-morgan\n\n[Morgan](https://github.com/expressjs/morgan) plugin for egg.js, based on [koa-morgan@0.x](https://github.com/koa-modules/morgan).\n\n## Install\n\n```bash\n$ npm i egg-morgan --save\n```\n\n## Usage\n\n```js\n// {app_root}/config/plugin.js\nexports.morgan = {\n  enable: true,\n  package: 'egg-morgan',\n};\n```\n\n## Configuration\n\nSupport all [morgan](https://github.com/expressjs/morgan) configurations.\n\n```js\n// {app_root}/config/config.default.js\nexports.morgan = {\n  format: 'combined',\n  // options: {},\n};\n```\n\nsee [config/config.default.js](config/config.default.js) for more detail.\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrickyang%2Fegg-morgan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrickyang%2Fegg-morgan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrickyang%2Fegg-morgan/lists"}