{
  "name": "serve-index",
  "description": "Serve directory listings",
  "version": "1.1.4",
  "author": {
    "name": "Douglas Christopher Wilson",
    "email": "doug@somethingdoug.com"
  },
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "git://github.com/expressjs/serve-index"
  },
  "dependencies": {
    "accepts": "~1.0.5",
    "batch": "0.5.1"
  },
  "devDependencies": {
    "istanbul": "0.2.10",
    "mocha": "~1.20.0",
    "should": "~4.0.0",
    "supertest": "~0.13.0"
  },
  "engines": {
    "node": ">= 0.8.0"
  },
  "scripts": {
    "test": "mocha --reporter dot",
    "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot",
    "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec"
  },
  "readme": "# serve-index\n\n[![NPM version](https://badge.fury.io/js/serve-index.svg)](http://badge.fury.io/js/serve-index)\n[![Build Status](https://travis-ci.org/expressjs/serve-index.svg?branch=master)](https://travis-ci.org/expressjs/serve-index)\n[![Coverage Status](https://img.shields.io/coveralls/expressjs/serve-index.svg?branch=master)](https://coveralls.io/r/expressjs/serve-index)\n\n  Serves pages that contain directory listings for a given path.\n\n## API\n\n```js\nvar express   = require('express')\nvar serveIndex = require('serve-index')\n\nvar app = express()\n\napp.use(serveIndex('public/ftp', {'icons': true}))\napp.listen()\n```\n\n### serveIndex(path, options)\n\n  Returns middlware that serves an index of the directory in the given `path`.\n\n#### Options\n\n  - `hidden` - display hidden (dot) files. Defaults to `false`.\n  - `view` - display mode. `tiles` and `details` are available. Defaults to `tiles`.\n  - `icons` - display icons. Defaults to `false`.\n  - `filter` - Apply this filter function to files. Defaults to `false`.\n  - `stylesheet` - Optional path to a CSS stylesheet. Defaults to a built-in stylesheet.\n  - `template` - Optional path to an HTML template. Defaults to a built-in template.\n    - The following tokens are replaced in templates:\n    - `{directory}` with the name of the directory.\n    - `{files}` with the HTML of an unordered list of file links.\n    - `{linked-path}` with the HTML of a link to the directory.\n    - `{style}` with the specified stylesheet and embedded images.\n\n## License\n\nThe MIT License (MIT)\n\nCopyright (c) 2014 Douglas Christopher Wilson\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n\nThe [Silk](http://www.famfamfam.com/lab/icons/silk/) icons are created\nby/copyright of [FAMFAMFAM](http://www.famfamfam.com/).\n",
  "readmeFilename": "Readme.md",
  "bugs": {
    "url": "https://github.com/expressjs/serve-index/issues"
  },
  "_id": "serve-index@1.1.4",
  "_from": "serve-index@*"
}
