Koa - Expressive HTTP middleware framework for node.js

  •        435

Koa is a new web framework designed by the team behind Express, which aims to be a smaller, more expressive, and more robust foundation for web applications and APIs. Through leveraging generators Koa allows you to ditch callbacks and greatly increase error-handling. Koa does not bundle any middleware within core, and provides an elegant suite of methods that make writing servers fast and enjoyable.

http://koajs.com
https://github.com/koajs/koa

Tags
Implementation
License
Platform

   




Related Projects

ratelimit - Rate limiter middleware


[![NPM version][npm-image]][npm-url][![build status][travis-image]][travis-url][![node version][node-image]][node-url][npm-image]: https://img.shields.io/npm/v/koa-ratelimit.svg?style=flat-square[npm-url]: https://npmjs.org/package/koa-ratelimit[travis-image]: https://img.shields.io/travis/koajs/ratelimit.svg?style=flat-square[travis-url]: https://travis-ci.org/koajs/ratelimit[node-image]: https://img.shields.io/badge/node.js-%3E=_0.11-red.svg?style=flat-square[node-url]: http://nodejs.org/downl

koa-redis - koa session with redis


`koa-redis` works with [koa-generic-session](https://github.com/koajs/generic-session)(a generic session middleware for koa).

path-match - koa route middleware


[![NPM version][npm-image]][npm-url][![build status][travis-image]][travis-url][![Test coverage][coveralls-image]][coveralls-url][![Gittip][gittip-image]][gittip-url]A simple routing wrapper around [path-match](https://github.com/expressjs/path-match).Similar to [koa-route](https://github.com/koajs/route) except it doesn't check methods.All of these routers use [path-to-regexp](https://github.com/component/path-to-regexp)underneath, which is what Express uses as well.```jsvar route = require('ko

koa-github - simple github auth middleware for koa


```//use http://localhost:7001 to testvar koa = require('koa');var http = require('http');var session = require('koa-sess');var githubAuth = require('koa-github');var app = koa();app.name = 'nae-web';app.keys = ['key1', 'key2'];app.use(session());app.use(githubAuth({ clientID: '5ec1d25d2a3baf99a03c', clientSecret: '513607494a244e2759738cae3d50a89494c1e7f0', callbackURL: 'http://localhost:7001', userKey: 'user', timeout: 10000}));app.use(function *handler() { if (!this.session.githubToken)



Gin - HTTP web framework written in Go (Golang)


Gin is a web framework written in Go (Golang). It features a martini-like API with much better performance, up to 40 times faster thanks to httprouter. If you need performance and good productivity, you will love You can add global, per-group, and per-route middlewares, thousands of nested groups, nice JSON validation and rendering. And the performance will be still great. Gin uses httprouter internally, the fastest HTTP router for Golang. Httprouter was created by Julien Schmidt and it’s based in a Radix Tree algorithm.

koa.io - Realtime web framework combine koa and socket.io.


- `socket.io` support koa style middleware when socket connect and disconnect.- socket event route support.- Make `socket.io`'s event handler support generator function.- Extent `socket.io`'s `socket` object like `koa`'s `context`, to compact with some `koa`'s middlewares.

koa-fresh - koa-fresh: HTTP response freshness testing middleware base on koa and node-fresh


koa-fresh: HTTP response freshness testing middleware base on koa and node-fresh

koa-markdown - Auto convert markdown to html for koa. Inspired by connect-markdown


```jsvar koa = require('koa');var markdown = require('koa-markdown');var app = koa();app.use(markdown({ root: __dirname + '/docs', baseUrl: '/docs'}));app.listen(7001);```Or you can checkout the [example](https://github.com/koajs/koa-markdown/tree/master/example).

koa-latency-headers - Koa middleware to add HTTP headers for latency benchmarking


Koa middleware to add HTTP headers for latency benchmarking

app - Full featured HTTP framework for web apps


gowww/app is a full featured HTTP framework for any web app. It greatly increases productivity by providing helpers at all levels while maintaining best performance.A named parameter begins with : and matches any value until the next / in path.

gongular - A different approach to Go web frameworks


gongular is an HTTP Server Framework for developing APIs easily. It is like Gin Gonic, but it features Angular-like (or Spring like) dependency injection and better input handling. Most of the time, user input must be transformed into a structured data then it must be validated. It takes too much time and is a repetitive work, gongular aims to reduce that complexity by providing request-input mapping with tag based validation.Note: gongular is an opinionated framework and it heavily relies on reflection to achieve these functionality. While there are tests to ensure it works flawlessly, I am open to contributions and opinions on how to make it better.

silicon - A high performance, middleware oriented C++14 http web framework


A high performance, middleware oriented C++14 http web framework

jwt - Koa middleware for validating JSON Web Tokens


Koa middleware for validating JSON Web Tokens

katamari - Polyglot Asynchronous Middleware Framework


Katamari is a Web Server and a Middleware Framework inspired by Rack (Ruby), Connect.js (Node.js), WSGI (Python) and Ring (Clojure). The asynchronous part is handled by [Netty](http://netty.io). And it is polyglot: written in Java with bindings for other languages (currently only Ruby).It is a work in progress and many things will change. There will be more middlewares, enough to easily create a JSON API with authentication and the basic features needed for it. Middlewares will optionally be bou