New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@hackcode/file-preview-page

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hackcode/file-preview-page

a simple command line utility to generate index pages in any directory

latest
Source
npmnpm
Version
0.0.1
Version published
Maintainers
1
Created
Source

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

Keywords

file

FAQs

Package last updated on 22 Sep 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts