Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

lws-index

lwsjs286.2kMIT3.1.1

Serve-index middleware plugin for lws

lws, lws-middleware, index, server, backend

readme

view on npm npm module downloads Gihub repo dependents Gihub package dependents Node.js CI js-standard-style

lws-index

Lws middleware plugin to serve directory listings. Wraps serve-index, typically used alongside lws-static.

Adds the following options to lws.

--index.root path              Index root directory, defaults to the value of --directory or the current directory.
--index.hidden                 Show hidden files.
--index.view name              Display mode, either `tiles` or `details`. Defaults to tiles.

© 2016-22 Lloyd Brookes <75pound@gmail.com>.