@hackcode/file-preview-page
v0.0.1
Published
a simple command line utility to generate index pages in any directory
Downloads
12
Maintainers
Readme
file-preview-page
Ever wanted to quickly share files with someone, but the server did not support directory listings ? Worry Not.
This little package can quickly generate a directory listing which can be then deployed alongwith the files to make it easy to share files over free public hosting spaces like surge.sh, vercel, netlify, firebase or even your own server.
Usage
# Install
sudo npm i -g @hackcode/file-preview-page
# Run from directory where you want to generate index file
cd my-project
file-preview-page
# Checkout the index.html file created
google-chrome index.html
Logs
Generated File
Note that all the file-names are clickable, to facilitate quick navigation / download.