Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/chemzqm/koa-one
- Owner: chemzqm
- Created: 2014-02-28T09:02:04.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-02-28T09:02:24.000Z (almost 11 years ago)
- Last Synced: 2024-10-29T12:38:04.181Z (about 2 months ago)
- Language: JavaScript
- Size: 97.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
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)