From 122d8e53341b71b435aba127715d35d45146fbd2 Mon Sep 17 00:00:00 2001 From: shuang6 <319825685@qq.com> Date: Wed, 15 May 2019 22:11:04 +0800 Subject: [PATCH 1/5] Initialization --- README.md | 81 ++++++++++++++++++++++++++++++------------- app/extend/context.js | 7 ++++ lib/cos.js | 32 ++++++++++++++--- package.json | 13 +++---- 4 files changed, 98 insertions(+), 35 deletions(-) create mode 100644 app/extend/context.js diff --git a/README.md b/README.md index 2f229cb..0b32a99 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# egg-cos +# @shuang6/egg-cos [![NPM version][npm-image]][npm-url] [![build status][travis-image]][travis-url] @@ -7,18 +7,18 @@ [![Known Vulnerabilities][snyk-image]][snyk-url] [![npm download][download-image]][download-url] -[npm-image]: https://img.shields.io/npm/v/egg-cos.svg?style=flat-square -[npm-url]: https://npmjs.org/package/egg-cos -[travis-image]: https://img.shields.io/travis/romoo/egg-cos.svg?style=flat-square -[travis-url]: https://travis-ci.org/romoo/egg-cos -[codecov-image]: https://img.shields.io/codecov/c/github/romoo/egg-cos.svg?style=flat-square -[codecov-url]: https://codecov.io/github/romoo/egg-cos?branch=master -[david-image]: https://img.shields.io/david/romoo/egg-cos.svg?style=flat-square -[david-url]: https://david-dm.org/romoo/egg-cos -[snyk-image]: https://snyk.io/test/npm/egg-cos/badge.svg?style=flat-square -[snyk-url]: https://snyk.io/test/npm/egg-cos -[download-image]: https://img.shields.io/npm/dm/egg-cos.svg?style=flat-square -[download-url]: https://npmjs.org/package/egg-cos +[npm-image]: https://img.shields.io/npm/v/@shuang6/egg-cos.svg?style=flat-square +[npm-url]: https://npmjs.org/package/@shuang6/egg-cos +[travis-image]: https://img.shields.io/travis/shuang6/@shuang6/egg-cos.svg?style=flat-square +[travis-url]: https://travis-ci.org/shuang6/@shuang6/egg-cos +[codecov-image]: https://img.shields.io/codecov/c/github/shuang6/@shuang6/egg-cos.svg?style=flat-square +[codecov-url]: https://codecov.io/github/shuang6/@shuang6/egg-cos?branch=master +[david-image]: https://img.shields.io/david/shuang6/@shuang6/egg-cos.svg?style=flat-square +[david-url]: https://david-dm.org/shuang6/@shuang6/egg-cos +[snyk-image]: https://snyk.io/test/npm/@shuang6/egg-cos/badge.svg?style=flat-square +[snyk-url]: https://snyk.io/test/npm/@shuang6/egg-cos +[download-image]: https://img.shields.io/npm/dm/@shuang6/egg-cos.svg?style=flat-square +[download-url]: https://npmjs.org/package/@shuang6/egg-cos