
Security News
Meet Socket at Black Hat and DEF CON 2025 in Las Vegas
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
micro-list
Advanced tools
Ever wanted to share a certain directory on your network by running just a command? Then this module is exactly what you're looking for: It provides a neat interface for listing the directory's contents and switching into sub folders.
In addition, it's also awesome when it comes to serving static sites. If a directory contains an index.html
, micro-list will automatically render it instead of serving the file's content as plaintext.
Powers now-serve.
Install it (needs at least node v6)
$ npm install -g micro-list
Run it
$ list [options] <path>
You can find a list of all options below.
Usage | Description | Default value |
---|---|---|
-h, --help | Output all available options | - |
-v, --version | The version tag of the micro-list instance on your device | - |
-p, --port [port] | A custom port on which the app will be running | 3000 |
-c, --cache [seconds] | How long static files should be cached in the browser | 3600 |
-s, --single | Serve single page apps with only one index.html in the root directory | - |
-u, --unzipped | Disable gzip compression | false |
npm uninstall -g micro-list
npm link
npm start
Yey! Now can use the list
command everywhere.
FAQs
Single-command HTTP directory listing and file serving
The npm package micro-list receives a total of 0 weekly downloads. As such, micro-list popularity was classified as not popular.
We found that micro-list demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.