ocd
This commit is contained in:
parent
6e76e20f43
commit
848a9c885b
2 changed files with 2 additions and 2 deletions
|
@ -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.
|
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.
|
includes things like content negotiation, normalization of node inconsistencies, redirection, and a few others.
|
||||||
|
|
||||||
Koa is not bundled with any middleware.
|
Koa is not bundled with any middleware.
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
|
|
||||||
const isGeneratorFunction = require('is-generator-function');
|
const isGeneratorFunction = require('is-generator-function');
|
||||||
const debug = require('debug')('koa:application');
|
const debug = require('debug')('koa:application');
|
||||||
const Emitter = require('events');
|
|
||||||
const onFinished = require('on-finished');
|
const onFinished = require('on-finished');
|
||||||
const response = require('./response');
|
const response = require('./response');
|
||||||
const compose = require('koa-compose');
|
const compose = require('koa-compose');
|
||||||
|
@ -17,6 +16,7 @@ const request = require('./request');
|
||||||
const statuses = require('statuses');
|
const statuses = require('statuses');
|
||||||
const Cookies = require('cookies');
|
const Cookies = require('cookies');
|
||||||
const accepts = require('accepts');
|
const accepts = require('accepts');
|
||||||
|
const Emitter = require('events');
|
||||||
const assert = require('assert');
|
const assert = require('assert');
|
||||||
const Stream = require('stream');
|
const Stream = require('stream');
|
||||||
const http = require('http');
|
const http = require('http');
|
||||||
|
|
Loading…
Reference in a new issue