A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/jsl9208/koa2-serve-index below:

GitHub - jsl9208/koa2-serve-index: Serve directory listings

koa2-serve-index

A koa2 middleware serves pages that contain directory listings for a given path, based on Express's serve-index v1.8.0.

Install
$ npm install koa2-serve-index
Usage
const koa = require('koa');
const serveIndex = require('koa2-serve-index');
const app = new Koa();

app.use(serveIndex(path, options));

app.listen(3000);

For more options and API documents, please see serve-index's README.

License

MIT. The Silk icons are created by/copyright of FAMFAMFAM.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4