UNPKG

file-browser

Version:

file-browser is a utility to browse files on your file system using your browser. Its equivalent of creating a file share that can be accessed over http

27 lines (21 loc) 1.12 kB
file-browser ============ file-browser is a utility to browse files on your file system using your browser. Its equivalent of creating a file share that can be accessed over http. Using this you can share files between different machines, and across different operating systems. ## How to install ```js npm -g install file-browser ``` ## How to Run Change directory to the directory you want to browse. Then run the following command in that directory. ```js file-browser ``` You would see the message <b>Please open the link in your browser http://<YOUR-IP>:8088</b> in your console. Now you can point your browser to your IP. For localhost access the files over http://127.0.0.1:8088 file-browser supports following command line switches for additional functinality. ```js -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) ``` ## ScreenShot <img src="https://raw.githubusercontent.com/sumitchawla/file-browser/master/file-browser.png"/>