- Notifications
You must be signed in to change notification settings - Fork1
Serve directory listings for koa, based on Express's serve-index.
License
NotificationsYou must be signed in to change notification settings
koa-modules/serve-list
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Serves pages that contain directory listings for a given path for koa.
serve-index wrapper for koa's middleware.
$ npm install --save koa-serve-list
constKoa=require('koa');constserveList=require('koa-serve-list');constserveStatic=require('koa-serve-static');constapp=newKoa();app.use(serveList(path,options));app.use(serveStatic(root,options));app.listen(3000);
varkoa=require('koa');varserveList=require('koa-serve-list');varserveStatic=require('koa-serve-static');varapp=koa();app.use(serveList(path,options));app.use(serveStatic(root,options));app.listen(3000);
About
Serve directory listings for koa, based on Express's serve-index.
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.