Slack Community

KoaJs Slack

Frameworks

Frameworks, boilerplates and other starter kits using Koa.

Name and descriptionBadgesSupports V2
Koalerplate - A simple Koa 2 boilerplate for API's using ES6.中间件列表 - 图2
koa-rest-api-boilerplate is a boilerplate for Node.js Koa RESTful API application with Docker, Swagger, Jest, Coveralls, PM2 and Circle CI中间件列表 - 图3
Koaton Is the most complete and flexible framework for Koa, It's compatible with koa2 and it's fully written in ES6/ES7, comes with a world class router and a powerfull ORM (CaminteJS). The CLI Tool allows you to easily setup a new project anywhere.中间件列表 - 图5Koaton CLI中间件列表 - 图7semantic-releasejs-happiness-style
JollofJSJollofJS - Comes with an impressive, native-friendly ORM and an in-built admin interface for CRUDing Data中间件列表 - 图11
egg - Born to build better enterprise frameworks and apps with Node.js & Koa中间件列表 - 图12
EggBorn.js - The Ultimate Javascript Full Stack Framework中间件列表 - 图13
Cabloy.js - The Ultimate Javascript Full Stack Business Development Platform, based on EggBornJS中间件列表 - 图14
thinkjs - Use full ES2015+ features to develop Node.js applications, Support TypeScript.中间件列表 - 图15
koa2-react - A boilerplate Koa2 with React frontend using MVC pattern and examples of most necessary features
hekdi - Dependency Injection for node.js integrated with popular Koa.js framework中间件列表 - 图16
ThinkKoa - Embrace Node.js 8 & koa2. A lightweight, scalable web framework, based on koa.中间件列表 - 图18
koahub - KoaHub.js — Based on Koa platform Node web rapid development framework (Use es6/7)中间件列表 - 图19
koahub-cli - KoaHub-cli — automatically compile Babel ES6/7 and automatic restart after file modification中间件列表 - 图20
koa-mvc - Koa v2 MVC framework, similar to sails.js中间件列表 - 图21
js-api - JavaScript/JSON objects to REST API in seconds.中间件列表 - 图22中间件列表 - 图23
EasyNode is a framework for microservice written with es6 and integrated a light web service based on koa and a light tcp service based on native socket. You can utilize all feature characters of ES6 in the framework.中间件列表 - 图24
koa.io realtime web framework, built on Socket.IO中间件列表 - 图25
api-boilerplate - an API application boilerplate中间件列表 - 图26
koa-generator - Koa' application generator just like express-generator(support 1.x && 2.x)中间件列表 - 图27
koa-gen - Express liked generator with standard style and gulp-nodemon (Koa v1.x & v2.x)中间件列表 - 图28
koala - a more feature-rich version of Koa, including many middleware and utilities中间件列表 - 图29
koa-plus - Koa with added features (similar to koala) - optimized for building secure, scalable APIs中间件列表 - 图30
koan - Full stack JavaScript Web development boilerplate with Koa and Angular中间件列表 - 图31
component-boilerplate-koa - component + koa boilerplate中间件列表 - 图32
opinion - Koa, and some modules so you can just start building中间件列表 - 图33
cottage - Simple, fastest microframework based on Koa中间件列表 - 图34
koa-mvc - Opinionated and minimalist MVC generator中间件列表 - 图35
surface - A tiny middleware of RESTful API for koa中间件列表 - 图36
koanect - A bare minimum framework that allows your web app to run standalone or to be packaged and included in other koanect apps中间件列表 - 图37
roo – jump-start your web app with a thin layer on top of koa to reduce initial boilerplate中间件列表 - 图38
resourced - A resource-oriented DSL for configuring koa中间件列表 - 图39
kona - a modular MVC framework and middleware stack built on koa中间件列表 - 图40
trek - Next generation full-stack JavaScript open source solution, based on Koa中间件列表 - 图41
kaio - A minimalist middleware to get started faster with Koa中间件列表 - 图42
koa-starter - A simple Koajs application starter template that includes controller, router, and view中间件列表 - 图43
baxel - Baxel is a MVC web framework build on top of Koa framework中间件列表 - 图44
strapi - Strapi allows you to build powerful back-end on top of Koa with no effort中间件列表 - 图45
Paloma - An angluar-like MVC framework中间件列表 - 图46
Kless - A framework inspired by FaaS, based on koa.中间件列表 - 图47
koa-socket - Attaches socket.io to koa and allows koa-style middleware for sockets中间件列表 - 图48
koa-socket2 - Attaches socket.io to koa2 and allows koa2-style middleware for socketsnpm
koa2-boilerplate - A minimal boilerplate of koa v2.中间件列表 - 图50
koa2-api-boilerplate - API-only (RESTful) boilerplate for Koa v2 with ES6-syntax & other.中间件列表 - 图51
koa2-starter-example - A starter for koa v2 with couchbase中间件列表 - 图52
koa-skeleton - Front end skeleton with koa backend中间件列表 - 图53
node-koajs-rest-skeleton - A simple Koajs 2.5 Application REST Skeleton (Koa v1.x & v2.x). Kubernetes-ready中间件列表 - 图54
Gracejs - A Nodejs SFB(Separation of Front and Back ends) framework, build with koa.(基于koa的标准前后端分离框架)中间件列表 - 图55
koa2-kickstarter - An opinionated boilerplate for koa v2 with batteries included.中间件列表 - 图56
Pikachu - A Koa2 app boilerplate.中间件列表 - 图57
lorem-koa - a CRUD application built with Koa.中间件列表 - 图58
javascript-boilerplate - Node.js+Koa.js+PostgreSQL+React.js+Webpack+Mocha+Makefile, a starter kit for new apps.中间件列表 - 图59
micro-koa - Creating microservices with koa inspired by zeit/micro中间件列表 - 图60
koa-sample-web-app-api-mysql - Koa Sample App (handlebars templating + RESTful API using MySQL)中间件列表 - 图61
koa-rester - Deploy RESTful APIs from presistence layer models中间件列表 - 图62
myKoa - myKoa (our myKoa V2 Frameworks)中间件列表 - 图63
koa-vue-notes-api - A fleshed-out SPA using Koa 2.3 on the backend and Vue 2.4 on the frontend. Includes fully featured user-authentication components, CRUD actions for the user's notes, and async/await.中间件列表 - 图64
koa2-es2017-api-boilerplate - ? Unopinionated Rest API boilerplate using Koa2 & ES2017+ with Jest for testing and ESLint for linting中间件列表 - 图65
koa2-starter-kit - Another Koa2 Starter Kit, utilizing Camo.js ODM and validate.js for validation中间件列表 - 图66
ibird - A lightweight and flexible web development framework.✨?✨中间件列表 - 图67
koa2-api-boilerplate - Koa2, Knex, es6-error, Gulp, ApiDoc, ESLint, koa-validate, JWT.中间件列表 - 图68
node-typescript-koa-rest - KOA2, typescript, logging and JWT. TypeORM with class-validator, SQL CRUD. Docker included. Valuable README.中间件列表 - 图69
koa-restful-boilerplate - Koa 2 RESTful API boilerplate中间件列表 - 图70
koa-api-starter - A starter kit for building Koa.JS based restful api中间件列表 - 图71
koa-rest-generator - A Koa RESTful API Generator中间件列表 - 图72
中间件列表 - 图73Atlas.js - A component-based library to reduce boilerplate and provide sane project structure ?中间件列表 - 图74

Middleware

Known middleware for Koa, you may want to search npm with "koa" to find more.

Koa v2 will try to convert legacy middleware for you, thus many in the lists below might just work out of the box.See Readme.md for more information about legacy middleware usage in Koa v2.

Name and descriptionSupports v2Downloads
koa-connect - mount Express/Connect middleware中间件列表 - 图75
koa2-validation - A koa2 middleware to validate the request with Joi中间件列表 - 图76
koa-router-joi-validator - Middleware for easy validation using simple JSON schemas (using Joi)!中间件列表 - 图77
koa-exception - Exception Handler Middleware Base on Koa@1.x中间件列表 - 图78
koa-webpack - Development and Hot Module Reload Middleware for Koa2. Simple setup and use. Composes webpack-dev-middleware and webpack-hot-middleware.中间件列表 - 图79
koa-webpack-middleware - webpack-dev-middleware for koa2 with HMR (Hot Module Replacement).中间件列表 - 图80
koa-hello-world - Koa 'Hello World' middleware, useful for testing中间件列表 - 图81
koa2-request-middleware - Koa2 request middleware, useful for get or post other datas中间件列表 - 图82
grant - OAuth middleware中间件列表 - 图83
kcors - CORS middleware中间件列表 - 图84
koa-slow - delay answering requests by URL RegExp, useful for debugging.中间件列表 - 图85
koa-force-https - Force HTTPS connection (including using HTTP2 protocol) to any incoming requests for Koa@2+
koa-force-ssl - Middleware for force SSL中间件列表 - 图86
koa-cluster - clustering and error handling utility中间件列表 - 图87
koa-polyfills - user-agent based polyfill bundle serving中间件列表 - 图88
koa-polyfill-service - user-agent based polyfill bundle serving; based on polyfill-service中间件列表 - 图89
koa-sub-domain - middleware to handle multilevel and wildcard subdomains中间件列表 - 图90
koa-isbot - middleware detect bot crawler-
koa-toobusy - Toobusy middleware for koa.中间件列表 - 图91
koa-handle-error - Error handler Middleware for Koa@2.x.中间件列表 - 图92
koa-restql - Build RESTful API with single line of code.-
koa-response-handler - Lightweight response handling middleware for KoaJS-
koa-proxies - Http Proxy Middleware for Koa@2.x.中间件列表 - 图93
koa-better-http-proxy - Proxy middleware for Koa. Based on villadora/express-http-proxy中间件列表 - 图94
koa2-simple-proxy - Simple Http Proxy Middleware for Koa@2.x.中间件列表 - 图95
koa-oembed - oEmbed middleware for koa中间件列表 - 图96
koa-jsonrpc - Json-RPC 2 middleware implementation on Koa v2中间件列表 - 图97
koa-superstruct - Use the superstruct data validation library as middleware for your koa app.
koa-sse-stream - A sse(server side event) middleware use stream model

Security

Name and descriptionSupports v2Downloads
koa-helmet - security headers for koa中间件列表 - 图98
koa-ip-filter - Middleware for koa that filters IPs against glob patterns, RegExp, string or array of globs using ip-filter and micromatch. Support custom 403 Forbidden message and custom ID.中间件列表 - 图99
koa-ip - Ip filter middleware for koa, support whitelist and blacklist中间件列表 - 图100
koa-authz - ACL, RBAC, ABAC authorization middleware based on Casbin中间件列表 - 图101
koa-acl - ACL middleware for koa中间件列表 - 图102
koa-rbac - Role-Based Access Control for koa中间件列表 - 图103
koa-rbac-mongo - Save the rbac rules to mongodb for dynamic rbac setup and check.中间件列表 - 图104
node-security-voters - ACL voters中间件列表 - 图105
koa-protect - Security module for koa applications中间件列表 - 图106

Body Parsing

Name and descriptionSupports v2Downloads
koa-body - parse http request body中间件列表 - 图107
hal-body - parse hal+json request body中间件列表 - 图108
koa-parse-json - parse JSON request body中间件列表 - 图109
koa-better-body - :sparkles: Full-featured koa body parser! :star2: Support parsing text, buffer, json, json patch, json api, csp-report, multipart, form and urlencoded bodies. Works for koa@1, koa@2 and will work for koa@3 with koa-convert. :sparkles:中间件列表 - 图113
koa-bodyparser - a body parser for koa, base on co-body中间件列表 - 图114
koa-multer - handling multipart/form-data for koa中间件列表 - 图115
multy - handle in memory multipart/form-data中间件列表 - 图116
koa-busboy - handling multipart/form-data for koa v2中间件列表 - 图117
formidable-upload-koa - handling multipart/form-data especially for file upload based on the famous formidable parser中间件列表 - 图118
koa-json-body - parse JSON http request bodies中间件列表 - 图119
koa-xml-body - parse xml http request bodies中间件列表 - 图120
bodyreceiver - A request body receiver & parser middleware for Koa@2+
koa-body-clean - Koa middleware for auto cleanup files created to disk by multipart middlewares中间件列表 - 图121

Parameter Validation

Name and descriptionSupports v2Downloads
koa-better-router - Stable and lovely router for koa, using path-match. Foundation for building powerful, flexible and RESTful APIs easily.中间件列表 - 图122
koa-rest-router - Most powerful, flexible and composable router for building enterprise RESTful APIs easily!中间件列表 - 图123
koa-input - parameter(support query, params, body and headers etc.) validate middleware for koa中间件列表 - 图124
koa-validate - parameter validate middleware for koa中间件列表 - 图125
koa-scheme - parameter validation middleware for koa中间件列表 - 图126
koa-router-validator - Validator middleware for koa-router中间件列表 - 图127
koa-router-schema - Schema validate middleware for koa-router中间件列表 - 图128
koa-context-validator - A robust context validator for koajs. Use Joi behind the scenes.中间件列表 - 图129
koa-joi-swagger - Using joi schema to validate request & response, and generate swagger document to create beautiful API documents.中间件列表 - 图130

Rate Limiting

Name and descriptionSupports v2Downloads
ratelimit - rate limiting middleware中间件列表 - 图131
koa-better-ratelimit - support black/white lists, Retry-After header, 429 status, in-memory store.中间件列表 - 图132
koa-ip-filter - Middleware for koa that filters IPs against glob patterns, RegExp, string or array of globs using ip-filter and micromatch. Support custom 403 Forbidden message and custom ID.中间件列表 - 图133
rate-limiter-flexible - limit requests rate by key and protect against DDoS and brute force attacks at any scale in process Memory, Cluster or PM2, Redis, Memcached, MongoDb, etc中间件列表 - 图134

Vhost

Name and descriptionSupports v2Downloads
koa-vhost - vhost middleware中间件列表 - 图135
koa-virtual-host - name-based virtual host middleware中间件列表 - 图136
koa-sub-domain - middleware to handle multilevel and wildcard subdomains中间件列表 - 图137
koa-subdomain - middleware to handle multilevel and wildcard subdomains中间件列表 - 图138

Routing and Mounting

Name and descriptionSupports v2Downloads
koa-mapper - A better router support params validation and OpenAPI generation.中间件列表 - 图139
corie-router - Better configure each route for koa or express中间件列表 - 图140
koa-architect - Automates mounting and routing中间件列表 - 图141
koa-better-router - Stable and lovely router for koa, using path-match. Foundation for building powerful, flexible and RESTful APIs easily.中间件列表 - 图142
koa-bestest-router - Not complicated. No mutable state. Less than 100 lines of code.中间件列表 - 图143
koa-rest-router - Most powerful, flexible and composable router for building enterprise RESTful APIs easily!中间件列表 - 图144
koa-mount - mount koa applications as middleware中间件列表 - 图145
koa-route - uber simple routing middleware中间件列表 - 图146
koa-routing - routing middleware中间件列表 - 图147
koa2-router - An express liked router middleware中间件列表 - 图148
koa2-routing - Multiple files define route & Multiple front middlewares.Support redirect.中间件列表 - 图149
koa-router - RESTful resource router (note: was put up for sale and sold)中间件列表 - 图150
koa-radix-router - Radix based routing, like koa-router but more faster中间件列表 - 图151
koa-directory-router - Directory RESTful resource router中间件列表 - 图152
koa-frouter - File as path中间件列表 - 图153
koa-rewrite - url rewriting middleware中间件列表 - 图154
koa-repath - A more flexible URL rewriting middleware for koa中间件列表 - 图155
koa-tree-router - high performance router for Koa中间件列表 - 图156
koa-trie-router - Trie-based routing中间件列表 - 图157
koa-params - Express style params support for koa-route.中间件列表 - 图158
koa-methodoverride - HTTP method overriding middleware中间件列表 - 图159
koa-overwrite - Overwrites request.method with forms _method.中间件列表 - 图160
koa-qs - nested query string support中间件列表 - 图161
kroute - Simple, self-contained koa routes and applications中间件列表 - 图162
koa-dispatch - Hybrid Koa router with multiple handlers and param support.中间件列表 - 图163
koa-barista - routing middleware based on the strong barista router.中间件列表 - 图164
koa-joi-router - Configurable, input and output validated routing for koa中间件列表 - 图165
koa-version - Mounting app by version to different router.中间件列表 - 图166
koa-version-router - Automatic version for router.中间件列表 - 图167
koa-ovenware - Automatic Model / Controller Loader for Koa中间件列表 - 图168
koa-sub-domain - middleware to handle multilevel and wildcard subdomains中间件列表 - 图169
koa-forward-request - Forward request for koa.中间件列表 - 图170
impress-router - port Express router to koa中间件列表 - 图171
impress-router-table - Sails.js like routing for koa.js中间件列表 - 图172
koa-simple-router - Simple and fast REST routing middleware (koa 2.x ready)中间件列表 - 图173
koa-66 - Router for koa v2中间件列表 - 图174
koa-react-router - koa 2 middleware for React server side rendering and routing with react-router中间件列表 - 图175
koa-dec-router - An ES6 decorator + class based router, support inherit, override, priority, auto load controllers, etc. Using koa-router under the hood.中间件列表 - 图176
koa-oai-router - Koa Router, based on OpenAPI, Swagger and Json Schema.中间件列表 - 图177
koa-minimal-router - ?Yet another minimal router for koa.中间件列表 - 图178
koa-router-find-my-way - Router middleware based on find-my-way, a crazy fast http radix based router (benchmark).中间件列表 - 图179

Documentation

Name and descriptionSupports v2Downloads
koa-docs - Koa middleware for automatically generating and serving API documentation中间件列表 - 图180
koa-joi-swagger - Using joi schema to validate request & response, and generate swagger document to create beautiful API documents.中间件列表 - 图181

File Serving

Name and descriptionSupports v2Downloads
koa-better-serve - Small, simple and correct serving of files, using koa-send - nothing more.中间件列表 - 图182
koa-serve - Koa middleware for serving static files中间件列表 - 图183
koa-send - a send file utility中间件列表 - 图184
koa-sendfile - a barebone send file utility中间件列表 - 图185
koa-static - static file serving middleware中间件列表 - 图186
koa-file-server - static file serving with additional features like etag and SPDY Push support中间件列表 - 图187
koa-static-server - Static file serving middleware for koa with directory, rewrite and index support中间件列表 - 图188
koa-static-cache - static file serving from memory中间件列表 - 图189
koa-spa - Single page app server build upon static-cache中间件列表 - 图190
koa-favicon - bounce favicon requests with a 404中间件列表 - 图191
koa-favi - connect.favicon like middleware default use node logo中间件列表 - 图192
koa-broccoli - a broccoli server (w/ livereload)中间件列表 - 图193
koa-combo - combine your static files at serverside and reduce number of HTTP requests in a flexible way中间件列表 - 图194
koa-watchify - Wraps a browserify or watchify instance into a koa middleware中间件列表 - 图195
koa-serve-static - Serve static files, based on Express's serve-static中间件列表 - 图196
koa-serve-list - Serve directory listings for koa, based on Express's serve-index中间件列表 - 图197
koa-stream - a send file utility supporting range request中间件列表 - 图198
koa-static-folder - Serve static files using a folder中间件列表 - 图199
koa-static2 - Middleware for Koa2 to serve a folder with Babel中间件列表 - 图200
koa2-serve-index - A Koa2 middleware serves pages that contain directory listings for a given path, based on Express's serve-index中间件列表 - 图201
koa-accept-webp - Koa middleware for serving webp images when support is detected中间件列表 - 图202

SPDY

Name and descriptionSupports v2Downloads
koa-file-server - static file serving with additional features like etag and SPDY Push support中间件列表 - 图203

HTTP2

Name and descriptionSupports v2Downloads
koa-server-push - Specifically for adding HTTP2 Server Push headers for HTTP2 clients and proxies such as Google App Engine中间件列表 - 图204

JSON and JSONP Responses

Name and descriptionSupports v2Downloads
koa-jsonp - streamable jsonp support中间件列表 - 图205
koa-response-jsonp - koa jsonp middleware中间件列表 - 图206
koa-json-filter - json response filtering to reduce traffic中间件列表 - 图207
koa-json-mask - json response filtering to reduce traffic. Supports filtering at any depth中间件列表 - 图208
koa-json - pretty-printed json responses中间件列表 - 图209
koa-hal - hal+json response support中间件列表 - 图210
koa-jsonapi-headers - Validate JSON-API Request Headers中间件列表 - 图211

Compression

Name and descriptionSupports v2Downloads
koa-compress - compression middleware中间件列表 - 图212
koa-compressor - SPDY/HTTP2 compression middleware (always gzips)中间件列表 - 图213
koa-gzip - gzip support for koa responses中间件列表 - 图214
kompression - forked of koa-compress with support for brotli compression中间件列表 - 图215
koa-minify - minify middleware for js, css, html and img中间件列表 - 图216
koa-uglify2 - uglify middleware for js with caching中间件列表 - 图217

Caching

Name and descriptionSupports v2Downloads
koa-cache-lite - Zero-dependency koa router cache中间件列表 - 图218
koa-fresh - HTTP response freshness testing middleware base on node-fresh中间件列表 - 图219
koa-etag - etag support for koa responses中间件列表 - 图220
koa-conditional-get - conditional GET support中间件列表 - 图221
koa-cash - response caching中间件列表 - 图222
koa-router-cache - Router cache middleware for koa中间件列表 - 图223

Authentication

Name and descriptionSupports v2Downloads
koa-basic-auth - simple user/pass basic auth中间件列表 - 图224
koa-passport - Passport middleware for Koa中间件列表 - 图225
koa-jwt - JWT (JSON Web Tokens) verification中间件列表 - 图226
koa-jwt-mongo - Deal with JSON-web-token in mongodb中间件列表 - 图227
koa-user - simple user module with tokens中间件列表 - 图228
koa-statelessauth - custom validation based on Authorization header中间件列表 - 图229
koa-bearer-token - Bearer token parser middleware for koa中间件列表 - 图230
koa-police - Policy based authentication library for Koa中间件列表 - 图231
koa-weixin-token - Weixin token services for koa中间件列表 - 图232
koa-http-auth - simple HTTP auth, including Basic auth & Digest auth中间件列表 - 图233

Sessions

Name and descriptionSupports v2Downloads
koa-session - cookie-based session middleware, also supports external session stores中间件列表 - 图234
koa-session-redis - drop-in replacement for koa-session中间件列表 - 图235
koa-session-redis3 - drop-in replacement for koa-session and koa-session-redis Deprecated in favor of koa-redis (same features)中间件列表 - 图236
koa-csrf - CSRF tokens中间件列表 - 图237
koa-session2 - Middleware for Koa2 to get/set session use with custom stores such as Redis or mongodb中间件列表 - 图238
koa-generic-session - connect-like session middleware中间件列表 - 图239
koa-session-minimal - a Koa 2 rewrite of koa-generic-session, support its core functionalities and stores中间件列表 - 图240
koa-redis - redis session store base on koa-generic-session中间件列表 - 图241
koa-session-mongodb - drop in replacement for koa-session based on Object.observe中间件列表 - 图242
koa-mongodb-session yieldable mongodb session modifications中间件列表 - 图243
koa-session-dynamodb-store - extension of koa-session that uses DynamoDB as session store.中间件列表 - 图244
koa-level - LevelDB session store for koa-generic-session中间件列表 - 图245
koa-flash - flash messages for koa-session中间件列表 - 图246
koa-flash-simple - Stupidly simple flash messages for koa v2中间件列表 - 图247
koa-flash-message - Flash Messages Middleware for Koa V2中间件列表 - 图248
koa-hazelcast - Hazelcast storage for koa generic session middleware中间件列表 - 图249

Templating

Name and descriptionSupports v2Downloads
koa-locals - local variables for templates render, use of ctx.state instead of ctx.locals中间件列表 - 图250
koa-bel - Simple javascript views without dependencies, built to be used with bel, but will also work with yo-yo or even just plain JS files returning a stream中间件列表 - 图251
koa-views - Render your views with almost any templating engine中间件列表 - 图252
koa-ejs - Focus on ejs and support full feature include layout, filters, locals, include.中间件列表 - 图253
co-ejs - koa ejs view render middleware.中间件列表 - 图254
koa-dom - server-side dom templating中间件列表 - 图255
koa-swig - Focus on swig, support tags, filters, and extensions.中间件列表 - 图256
koa-swig-render - Focus on swig, used as a middleware.中间件列表 - 图257
koa-hbs - Express-style Handlebars view rendering.中间件列表 - 图258
koahub-handlebars - Handlebars view rendering, Use async/await中间件列表 - 图259
koa-jade - a Jade middleware for Koa中间件列表 - 图260
koa-handlebars - Handlebars view rendering中间件列表 - 图261
koajs-nunjucks - Nunjucks view rendering中间件列表 - 图262
koa-view - Nunjucks view rendering中间件列表 - 图263
koa-pug - a Pug (renamed Jade) middleware for Koa中间件列表 - 图264
koa-artpl - koa artTemplate engine中间件列表 - 图265
koa-nunjucks-next - Nunjucks view rendering, support asynchronous filters, render raw string中间件列表 - 图266
koa-xtpl - A node.js wrapper around xtemplate engine (easier for Koa 2)中间件列表 - 图267
koa-nunjucks-async - A Koa@2 middleware for rendering Nunjucks templates. Uses Node's native async/await, and util.promisify. Also exposes ctx.state to rendered templates中间件列表 - 图268
koa-vue-view - A Koa view engine which renders Vue components on serverimage
koa2-jsx - JSX rendering using server-side React methods, with Redux support to set templating data from context. Can be used to create universal application.中间件列表 - 图270

Services

Name and descriptionSupports v2Downloads
koa-pg - Handle your Pg database connections automatically.中间件列表 - 图271
koa-mongo - MongoDB middleware for koa, support connection pool.中间件列表 - 图272
koa-redis-pool - Redis middleware for koa, support connection pool.中间件列表 - 图273
koa-waterline koa middlware for your waterline orm中间件列表 - 图274
koa-pgp koa middlware that speaks pgp中间件列表 - 图275
koa-redisy koa wrapper for co-redis, which is a wrapper for node-redis中间件列表 - 图276
rethinkdbdash - RethinkDB driver with promises and a connection pool.中间件列表 - 图277
component-koa - koa middleware for component builds中间件列表 - 图278
koa-pagination - Handle Range Pagination Headers using Range & Content-Range entity-headers.中间件列表 - 图279
koa-graphql - Koa middleware for creating a GraphQL HTTP server.中间件列表 - 图280
koa-graphiql - Koa middleware for serving a GraphiQL IDE.中间件列表 - 图281
koa-mongoose - mongoose middleware for koa中间件列表 - 图282
koa-orm - koa orm using sequelize & squel中间件列表 - 图283

CSS Preprocessor

Name and descriptionSupports v2Downloads
koa.sass - Koa@2 middleware for processing sass files.中间件列表 - 图284
koa-stylus - Stylus middleware for Koa中间件列表 - 图285
koa-less - LESS middleware for Koa中间件列表 - 图286
koa-lessie - LESS middleware (lighter implementation)中间件列表 - 图287
koa-myth - Wraps a myth or rework instance into a koa middleware中间件列表 - 图288
koa-scss - SCSS middleware for Koa中间件列表 - 图289
koa-postcss - PostCSS middleware for Koa

Livereload

Name and descriptionSupports v2Downloads
koa-livereload - koa middleware for adding livereload.js中间件列表 - 图290

Error reporting

Name and descriptionSupports v2Downloads
koa-error - text, json, html error responses with swig template support中间件列表 - 图291
koa-json-error - error handler for pure-JSON apps中间件列表 - 图292
koa-errorhandler - Error handler middleware for koa.中间件列表 - 图293
http-assert - assert with status codes中间件列表 - 图294
koa-error-ejs - text, json, html error responses with ejs template support中间件列表 - 图295
koa-notifier - Wrap node-notifier for koa, cute for test.中间件列表 - 图296
onerror - an error handler for koa, hack ctx.onerror中间件列表 - 图297
koa-error-slack - Send Koa errors to Slack

Logging

Name and descriptionSupports v2Downloads
koa-logger - development style logger中间件列表 - 图298
corie-logger - A log factory for Koa2中间件列表 - 图299
concurrency-logger - logging requests concurrently and in context中间件列表 - 图300
koa-mongolog - logging http queries to MongoDB中间件列表 - 图301
~~koa-mongodb-logger - log and profile Koa requests to MongoDB~中间件列表 - 图302
koa-log4js - log4js logger middleware for koa中间件列表 - 图303
koa-log4 - a wrapper for log4js-node which supports koa middleware中间件列表 - 图304
koa-request-id - Add a request id中间件列表 - 图305
koa-bunyan - Using node-bunyan as koa logging middleware中间件列表 - 图306
koa-bunyan-logger - Koa middleware for bunyan request logging中间件列表 - 图307
koa-json-logger - HTTP Request/Response/Error JSON format logger中间件列表 - 图308
koa-logger2 - Apache like (combined) logging for koajs中间件列表 - 图309
koa-raven - Raven middleware for koa中间件列表 - 图310
koa-morgan - Morgan for koa中间件列表 - 图311
koa-winston - Winston wrapper for koa中间件列表 - 图312
koa-slowlog - slowlog for koa, based on co-slowlog中间件列表 - 图313
koa-yield-breakpoint - Add breakpoints around yield expression especially for koa@1中间件列表 - 图314
koa-logtown - The middleware is very similar to koa-logger, but console.log was replaced with logtown method calls中间件列表 - 图315

Metrics

Name and descriptionSupports v2Downloads
koa-statsd - statsd integration中间件列表 - 图316
koa-response-time - x-response-time header field middleware中间件列表 - 图317
koa-ping - ping and health route for app status check中间件列表 - 图318
koa-monitor - Realtime monitoring for koa-based Node applications中间件列表 - 图319

Analytics

Name and descriptionSupports v2Downloads
koa-analytics - easily add analytics to your koa app中间件列表 - 图320

i18n or L10n

Name and descriptionSupports v2Downloads
koa-locale - Get locale variable from query, subdomain, accept-languages or cookie中间件列表 - 图321
koa-i18n - Lightweight simple translation middleware based on i18n-2中间件列表 - 图322

Response Transformation

Name and descriptionSupports v2Downloads
koa-response-censor - Strip keys from the response body中间件列表 - 图323
koa-snake-res - Snake case json response transform middleware for koa中间件列表 - 图324
koa-res - Format koa's respond json.中间件列表 - 图325

Utilities

Misc utilities that are useful for Koa applications. Note that co lets you yield a variety of types, so existing libraries using promises etc should work fine.

Name and descriptionSupports v2Downloads
koa-combine-routers - Combine multiple instances of koa-router.中间件列表 - 图326
co-punch - Punch old libraries!中间件列表 - 图327
cofy - Cofy is a bridge connecting callback style object to sequential style in co or koa environment with one punch.中间件列表 - 图328
koa-compose - compose several middleware into one中间件列表 - 图329
koa-convert - convert koa legacy ( v0.x & v1.x ) generator middleware to promise middleware ( v2.x )中间件列表 - 图330
shen - Shen is underscore for generators中间件列表 - 图331
koa-aspect - AOP for Koa.中间件列表 - 图332
co libraries - thunk-based libraries that work with Koa-
koa-add-to-context - middleware to add all enumerable keys to the context of each request中间件列表 - 图333
koa-use - Overwrite koa's use(), add Array support.中间件列表 - 图334
koa-ignore - Conditional wrapper around koa-compose.中间件列表 - 图335
koa-pass - Conditionally skip a middleware when a condition is met.中间件列表 - 图336
koa-useragent - Fast Middleware exposing user-agent.中间件列表 - 图337

Aggregates

Aggregate modules make including common suites of middleware in your application(s) easier. This mimics the convenience of Connect's bundled middleware without forcing them on people.

  • common - mount, logger, response-time, static
  • opinion - my opinion on what's needed to get started

Applications

Application list using Koa.

  • cnpmjs.org - Private npm registry and web for Enterprise, base on koa, MySQL and Simple Store Service.
  • icp.c.163.com - A full stack development practice, base on koa, react, MySQL,nos and redis StoreService.
  • component-crawler - component.json crawler
  • DailyNode - A complete, timely aggregator of node things: blog, tutorial, video, npm, tool, framework, conf.
  • Badgelino - Very much work in progress. Fast, extensible badges server. Badges done right. Routes done right.
  • Booooring.com - Soundtrack of you office. Using streaming to send small mp3 files smoothly.
  • N-club - A simple forum.
  • LaTeX Base - Cloud LaTeX editor with offline support and live preview.

Screencasts