docs
This commit is contained in:
parent
9e167c5ed9
commit
bbbbfcc37a
1 changed files with 3 additions and 6 deletions
|
@ -4,13 +4,10 @@
|
||||||
Expressive middleware for node.js using generators via [co](https://github.com/visionmedia/co)
|
Expressive middleware for node.js using generators via [co](https://github.com/visionmedia/co)
|
||||||
to make writing web applications and REST APIs more enjoyable to write.
|
to make writing web applications and REST APIs more enjoyable to write.
|
||||||
|
|
||||||
Koa provides a useful set of methods that make day to day web application and API design much
|
Only methods that are common to nearly all HTTP servers are integrated directly into Koa's small ~400 SLOC codebase. This
|
||||||
faster, and less error-prone than "raw" nodejs. Many of these utilities were extracted from [Express](https://github.com/visionmedia/express),
|
includes things like content-negotiation, normalization of node inconsistencies, redirection, and a few others.
|
||||||
however moving them to this layer allows middleware developers to avoid boilerplate and refrain from re-implementing
|
|
||||||
many of these features, sometimes incorrectly or incomplete.
|
|
||||||
|
|
||||||
Only methods that are common to nearly all HTTP servers are integrated directly into Koa's small ~400 SLOC codebase. No middleware
|
No middleware are bundled with koa. If you prefer to only define a single dependency for common middleware, much like Connect, you may use
|
||||||
are bundled with koa. If you prefer to only define a single dependency for common middleware, much like Connect, you may use
|
|
||||||
[koa-common](https://github.com/koajs/common).
|
[koa-common](https://github.com/koajs/common).
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
Loading…
Reference in a new issue