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

@moryoav/node-red-plugin-file-browser

v0.5.1

Published

Node-RED editor plugin: Files sidebar with folder tree, text editor, create/save files;

Readme

@moryoav/node-red-plugin-file-browser

A minimal Node-RED editor plugin that adds a Files sidebar tab:

  • 📁 Browse folders (tree, subfolders)
  • 📝 Open & edit text files (UTF-8) with Monaco (VS Code’s editor) or a textarea fallback
  • ➕ Create files & folders
  • 💾 Save changes
  • 🔒 Sandboxed to a base directory (configurable from the sidebar; persisted in userDir)

No extra Dashboard nodes needed. Works fully inside the Node-RED editor (http://host:1880).


Install

From Manage Palette (recommended)

  1. Open Node-RED → Menu → Manage palette → Install
  2. Search for @moryoav/node-red-plugin-file-browser
  3. Install and reload the editor.

From npm/CLI Install into your userDir (Docker userDir is /data):

cd ~/.node-red            # or /data in Docker
npm i @moryoav/node-red-plugin-file-browser
# restart Node-RED

If you have the plugin sources locally (e.g., inside a project), you can install from path:

cd /data
npm i /data/projects/YourProject/file-browser-plugin

Usage

  1. Open the editor and click the Files sidebar tab.
  2. In the left panel header:
    • Base shows the current base folder.
    • Click Change base… to set a new base (must be under userDir, e.g., /data/projects/YourProject in Docker).
    • Click Refresh to re-scan the current folder.
  3. Click folders to drill down and click files to open them.
  4. Use New file, New folder, and Save in the right toolbar.

Persistence: The selected base folder is saved to ~/.node-red/.filebrowser.config.json (Docker: /data/.filebrowser.config.json) and is re-used on restart.


Security & Limits

  • All HTTP endpoints are served via RED.httpAdmin (protected by the editor’s login if adminAuth is enabled).
  • All file operations are sandboxed to the base folder (which itself must be inside userDir).
  • Editing is text-only; binary files are rejected.
  • Default file size limit is 5 MB (configurable by editing the config JSON manually).

Why this plugin?

  • Native to the editor (no Dashboard or external UI).
  • Zero config step: pick your base folder in the sidebar; no settings.js edits required.
  • Minimal dependencies: Monaco is loaded from CDN with a textarea fallback if blocked/offline.

Uninstall

cd ~/.node-red  # or /data
npm remove @moryoav/node-red-plugin-file-browser
# restart Node-RED

Development

# link or pack for local dev
cd /path/to/file-browser-plugin
npm pack        # optional: inspect the tarball
# or install into your userDir directly:
cd ~/.node-red
npm i /path/to/file-browser-plugin

Commit guidelines:

  • Conventional commits (feat:, fix:, chore:) are appreciated.
  • npm version <patch|minor|major> will auto-tag releases.

License

MIT (see LICENSE)