This commit is contained in:
dead_horse 2015-11-06 00:42:14 +08:00
parent 6e76e20f43
commit 848a9c885b
2 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,7 @@
Expressive HTTP middleware for node.js to make web applications and APIs more enjoyable to write. Koa's middleware stack flows in a stack-like manner, allowing you to perform actions downstream then filter and manipulate the response upstream. Koa's use of generators also greatly increases the readability and robustness of your application.
Only methods that are common to nearly all HTTP servers are integrated directly into Koa's small ~550 SLOC codebase. This
Only methods that are common to nearly all HTTP servers are integrated directly into Koa's small ~570 SLOC codebase. This
includes things like content negotiation, normalization of node inconsistencies, redirection, and a few others.
Koa is not bundled with any middleware.

View file

@ -7,7 +7,6 @@
const isGeneratorFunction = require('is-generator-function');
const debug = require('debug')('koa:application');
const Emitter = require('events');
const onFinished = require('on-finished');
const response = require('./response');
const compose = require('koa-compose');
@ -17,6 +16,7 @@ const request = require('./request');
const statuses = require('statuses');
const Cookies = require('cookies');
const accepts = require('accepts');
const Emitter = require('events');
const assert = require('assert');
const Stream = require('stream');
const http = require('http');