npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

nfilemanager

v1.1.18

Published

Web tabanlı dosya yönetim aracı

Readme

nFileManager

A lightweight, web-based file management tool with directory navigation, multi-language support, and a full-featured file operations toolbar.

Features

  • 📂 Directory Navigation – Browse folders with breadcrumb, clickable ".." parent row
  • 📤 File Upload – Upload files with real-time progress bar (percentage + MB)
  • 📥 File Download – One-click file download
  • ✏️ Create / Rename / Delete – Create files and folders, rename, delete (single & bulk)
  • 📋 Copy / Move – Copy or move files between directories
  • 👁️ View Files – View images, videos, PDFs, audio directly in browser
  • 📝 Text Editor – Built-in editor for code and text files
  • 🔍 Search – Real-time client-side file filtering
  • 🔀 Sort – Sort by name, size, type, date (ascending / descending)
  • ☑️ Multi-Select Toolbar – Select files, action buttons enable/disable dynamically
  • 🌐 i18n – Turkish / English language support
  • 📌 Sticky Toolbar – Actions stay visible while scrolling
  • 📱 Responsive Design – Works on desktop, tablet, and mobile
  • 🖼️ Dynamic Favicon – Emoji-based favicon via canvas

Installation

# Install globally via npm
npm install -g nfilemanager

# OR run from source
git clone [email protected]:necdetuygur/nfilemanager.git
cd nfilemanager
npm install
npm link

Usage

# Start with default settings (port 3000, current directory)
nfilemanager

# Custom port
nfilemanager --port 8080

# Custom host and root directory
nfilemanager --host 0.0.0.0 --port 4321 --path /home/user/files

# Show help
nfilemanager --help

Then open http://localhost:3000 in your browser.

CLI Options

| Option | Default | Description | |--------|---------|-------------| | --port <number> | 3000 | HTTP server port | | --host <string> | 0.0.0.0 | Bind address | | --root <path> | . (current dir) | Root directory for file browser | | --path <path> | — | Same as --root | | --help | — | Show help message |

Project Structure

nfilemanager/
├── bin/
│   └── cli.js            # CLI entry point
├── public/
│   ├── index.html        # Main web interface
│   ├── style.css         # Stylesheet
│   ├── script.js         # Client-side logic
│   ├── editor.html       # Text editor page
│   ├── editor.js         # Editor script
│   ├── editor.css        # Editor styles
│   └── languages.json    # i18n translations (TR / EN)
├── index.js              # Express server (all API routes)
├── package.json
└── README.md

API Endpoints

All endpoints accept an optional ?path= query parameter for subdirectory access.

| Method | Endpoint | Description | |--------|----------|-------------| | GET | /files | List directory contents | | POST | /upload | Upload a file | | GET | /download/:filename | Download a file | | GET | /view/:filename | View file in browser | | DELETE | /delete/:filename | Delete a file or folder | | PUT | /rename/:filename | Rename a file or folder | | POST | /mkdir | Create a folder | | POST | /touch | Create an empty file | | POST | /copy | Copy files to a destination directory | | POST | /move | Move files to a destination directory | | POST | /bulk-delete | Delete multiple files or folders | | GET | /read/:filename | Read a text file's content | | POST | /save/:filename | Save content to a text file |

UI Overview

┌─────────────────────────────────────────────┐
│  nFileManager                    [🇹🇷/🇬🇧]  │  ← Top bar
├─────────────────────────────────────────────┤
│  [🔍 Search...]                             │  ← Search
│  [📄 New File] [📁 New Folder] [✏️ Rename]  │  ← Toolbar (sticky)
│  📁 / Root › folder                         │  ← Breadcrumb
├─────────────────────────────────────────────┤
│  [☐] Ad ▲   Boyut   Tür   Tarih     [🔄]  │  ← Sort header
├─────────────────────────────────────────────┤
│  📁 ..                                      │  ← Parent dir
│  📁 documents                               │
│  📄 notes.txt                               │  ← File list
│  📄 script.js                               │
└─────────────────────────────────────────────┘
│  [📄 Select File] [Upload]                  │  ← Upload section
└─────────────────────────────────────────────┘

Requirements

  • Node.js >= 14.0.0

Technologies

  • Node.js – Runtime environment
  • Express.js – Web framework
  • Multer – File upload middleware
  • Vanilla JavaScript – Client-side logic
  • Custom CSS – Styling (no frameworks)

License

MIT