0.0.1 • Published 4 years ago

@hackcode/file-preview-page v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

file-preview-page

GitHub issues GitHub license GitHub stars

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

https://i.imgur.com/U5WlzgG.png

Generated File

Note that all the file-names are clickable, to facilitate quick navigation / download.

https://i.imgur.com/Jc7zInK.png

0.0.1

4 years ago

0.0.0

4 years ago

1.0.1

4 years ago