Lws Directory Listing Middleware
JSON →lws-index is a middleware plugin designed for the Lightweight Web Server (lws) ecosystem, enabling the serving of directory listings. It functions as a wrapper around the popular `serve-index` library, integrating its capabilities seamlessly into lws. The current stable version is 3.1.1, and being part of the lws family, it generally follows the lws release cadence, focusing on stability and compatibility within that ecosystem. Its key differentiator is its straightforward integration as a plugin for lws, providing configurable options like specifying a root directory, showing hidden files, and choosing between 'tiles' or 'details' view modes, without needing manual Express.js-style middleware setup. It is often used in conjunction with `lws-static` for comprehensive file serving.
Traffic · last 30 days ↓67% vs prev 7d
top countries 🇺🇸 United States · 🇳🇱 Netherlands · 🇨🇦 Canada · 🇩🇪 Germany · 🇮🇩 Indonesia