koa-serve-index

Serve directory listings for koa

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
koa-serve-index
1301.1.17 years ago8 years agoMinified + gzip package size for koa-serve-index in KB

Readme

koa-serve-index
koa version of express serve index middleware
https://github.com/expressjs/serve-index
koa-serve-index NPM downloads Build Status Coverage Status Dependency Status node version

difference between expressjs/serve-index

  • support fileSort option: #3

example

var app = require('koa')();
app.use(require('koa-serve-index')(process.cwd()));
app.listen(90);