file-browser
allows embedding of a web-enabled file browser in your node site.
Original Author Credit: Sumit Chawla
npm install file-browser
An exmplae server is implemented in:
./cli.js
You would see the message Please open the link in your browser http://:8088 in your console. Now you can point your browser to your IP. For localhost access the files over http://127.0.0.1:8088
The example cli supports following command line switches for additional functinality.
-p, --port <port> Port to run the file-browser. Default value is 8088
-e, --exclude <exclude> File extensions to exclude. To exclude multiple extension pass -e multiple times. e.g. ( -e .js -e .cs -e .swp)