mirror of
https://github.com/cupcakearmy/koa-router.git
synced 2024-12-22 08:06:27 +00:00
Update README.md
This commit is contained in:
parent
0076925d65
commit
677c341d89
10
README.md
10
README.md
@ -1,7 +1,5 @@
|
|||||||
# Koa Router
|
# Koa Router
|
||||||
|
|
||||||
[![Join the chat at https://gitter.im/cupcakearmy/koa-router](https://badges.gitter.im/cupcakearmy/koa-router.svg)](https://gitter.im/cupcakearmy/koa-router?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
|
||||||
|
|
||||||
[![npm](https://img.shields.io/npm/v/cca-koa-router.svg)](https://www.npmjs.com/package/cca-koa-router)
|
[![npm](https://img.shields.io/npm/v/cca-koa-router.svg)](https://www.npmjs.com/package/cca-koa-router)
|
||||||
[![npm](https://img.shields.io/npm/dt/cca-koa-router.svg)]()
|
[![npm](https://img.shields.io/npm/dt/cca-koa-router.svg)]()
|
||||||
[![npm](https://img.shields.io/npm/l/cca-koa-router.svg)]()
|
[![npm](https://img.shields.io/npm/l/cca-koa-router.svg)]()
|
||||||
@ -14,6 +12,12 @@ Koa Router with support for recursive nesting and regexp and dynamic urls. No de
|
|||||||
npm install cca-koa-router --save
|
npm install cca-koa-router --save
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### QA
|
||||||
|
|
||||||
|
If you have questions:
|
||||||
|
|
||||||
|
[![Join the chat at https://gitter.im/cupcakearmy/koa-router](https://badges.gitter.im/cupcakearmy/koa-router.svg)](https://gitter.im/cupcakearmy/koa-router?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
||||||
|
|
||||||
### Simple Example
|
### Simple Example
|
||||||
```javascript
|
```javascript
|
||||||
const
|
const
|
||||||
@ -169,4 +173,4 @@ GET /user/foo/123/view/active
|
|||||||
=>
|
=>
|
||||||
{"user":"foo","id":"123","type":"active"}
|
{"user":"foo","id":"123","type":"active"}
|
||||||
*/
|
*/
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user