UNPKG

339 BJavaScriptView Raw
1
2/*!
3 * Connect - directory
4 * Copyright(c) 2011 Sencha Inc.
5 * Copyright(c) 2011 TJ Holowaychuk
6 * MIT Licensed
7 */
8
9/**
10 * Directory:
11 *
12 * See [serve-index](https://github.com/expressjs/serve-index)
13 *
14 * @param {String} root
15 * @param {Object} options
16 * @return {Function}
17 * @api public
18 */
19
20module.exports = require('serve-index');