Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/chemzqm/koa-one

some common koa middlewares
https://github.com/chemzqm/koa-one

Last synced: about 1 month ago
JSON representation

some common koa middlewares

Awesome Lists containing this project

README

        

# Koa-one

[![Dependency Status](https://david-dm.org/chemzqm/koa-one.png)](https://david-dm.org/chemzqm/koa-one)

Too lazy to install so many koa middlewares.

`koa-static` is aliased as `serve` to avoid static keyword.

`koa-sess` is used instead of `koa-session` to make use of redis store easier.

## Install

npm install koa-one

## Middleware

* [favicon](https://github.com/koajs/favicon)
* [logger](https://github.com/koajs/logger)
* [responseTime](https://github.com/koajs/response-time)
* [compress](https://github.com/koajs/compress)
* [session](https://github.com/koajs/session)
* [etag](https://github.com/koajs/etag)
* [ratelimit](https://github.com/koajs/ratelimit)
* [serve](https://github.com/koajs/static)
* [conditionalGet](https://github.com/koajs/conditional-get)
* [rewrite](https://github.com/koajs/rewrite)
* [mount](https://github.com/koajs/mount)
* [router](https://github.com/alexmingoia/koa-router)
* [sess](https://github.com/dead-horse/koa-session)
* [body](https://github.com/dlau/koa-body)