@hackcode/file-preview-page

0.0.1 • Public • Published

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

Package Sidebar

Install

npm i @hackcode/file-preview-page

Weekly Downloads

1

Version

0.0.1

License

MIT

Unpacked Size

17 kB

Total Files

8

Last publish

Collaborators

  • yashkumarverma