
Product
Introducing Tier 1 Reachability: Precision CVE Triage for Enterprise Teams
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
@jun-a/local-filebrowser
Advanced tools
Simple local file browser web application with CLI support. Browse your files and preview content in a web interface.
npm install -g @jun-a/local-filebrowser
npm install @jun-a/local-filebrowser
After global installation, you can use either command:
Short command (lfb
):
# Start file browser on default port (3099)
lfb
# Start on specific port
lfb -p 8080
# Browse specific directory
lfb -d ~/Documents
# Combine options
lfb -p 8080 -d ~/Downloads
Full command (local-file-browser
):
# Start file browser on default port (3099)
local-file-browser
# Start on specific port
local-file-browser -p 8080
# Browse specific directory
local-file-browser -d ~/Documents
# Combine options
local-file-browser -p 8080 -d ~/Downloads
-p, --port <number>
: Port number (default: 3099)-d, --path <path>
: Directory path to browse (default: current directory)-h, --help
: Show help message-v, --version
: Show version numberconst path = require('path');
const { spawn } = require('child_process');
// Set environment variables
process.env.PORT = '8080';
process.env.DATA_PATH = path.resolve('./my-directory');
// Start server
require('@jun-a/local-filebrowser');
git clone <repository-url>
cd local-filebrowser
npm install
npm start
PORT
: Server port (default: 3099)DATA_PATH
: Base directory path (default: current working directory)http://localhost:3099
(or your specified port)path
(directory path)path
(file path)path
(file path)@jun-a/local-filebrowser/
├── bin/
│ └── lfb.js # CLI executable
├── public/
│ ├── css/
│ │ └── styles.css
│ └── js/
│ └── app.js
├── views/
│ └── index.html
├── server.js # Main server file
├── package.json
└── README.md
ISC License
lfb
commandFAQs
Simple file browser web application built with Express.js
We found that @jun-a/local-filebrowser demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.