From 8d6d4b60c6eb29db24ebaa893f20c3b09374460c Mon Sep 17 00:00:00 2001 From: Anthony Cho Date: Wed, 26 Feb 2020 11:32:59 +0900 Subject: [PATCH] Changes link from koa-router to @koa/router --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d80ae4b..f8e39de 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ Easy, rich and fully validated [koa][] routing. [co-body]: https://github.com/visionmedia/co-body [await-busboy]: https://github.com/aheckmann/await-busboy [joi]: https://github.com/hapijs/joi -[koa-router]: https://github.com/alexmingoia/koa-router +[@koa/router]: https://github.com/koajs/router [generate API documentation]: https://github.com/a-s-o/koa-docs [path-to-regexp]: https://github.com/pillarjs/path-to-regexp @@ -32,7 +32,7 @@ Easy, rich and fully validated [koa][] routing. - built in input validation using [joi][] - built in [output validation](#validating-output) using [joi][] - built in body parsing using [co-body][] and [await-busboy][] -- built on the great [koa-router][] +- built on the great [@koa/router][] - [exposed route definitions](#routes) for later analysis - string path support - [regexp-like path support](#path-regexps) @@ -263,7 +263,7 @@ users.prefix('/user'); Defines middleware for named route parameters. Useful for auto-loading or validation. -_See [koa-router](https://github.com/alexmingoia/koa-router#routerparamparam-middleware--router)_ +_See [@koa/router](https://github.com/koajs/router/blob/master/API.md#module_koa-router--Router+param)_ ```js const router = require('koa-joi-router');