diff --git a/Readme.md b/Readme.md index 773feb5..d00aedf 100644 --- a/Readme.md +++ b/Readme.md @@ -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. diff --git a/lib/application.js b/lib/application.js index 1014842..5721889 100644 --- a/lib/application.js +++ b/lib/application.js @@ -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');