Static web server autoindex listing using NodeJS
In PHP world, webserver with autoindex module (e.g Apache mod_autoindex, Litespeed Auto Index, nginx ngx_http_autoindex_module) already provide a way to display file listing in a public directory - we don't even need PHP to have this feature.