node-red-contrib-folders 2.0.2
Add folders to Node-RED 5's native Explorer while preserving its live flow, subflow, and node controls.
Folders
node-red-contrib-folders
Folders adds a folder hierarchy to Node-RED's built-in Explorer for organising flows and subflows. It keeps the native Explorer rows and controls while adding batch actions, appearance settings, sorting, filtering, and a dedicated view for global configuration nodes.
Features
- Organise flows and subflows together in nested folders.
- Create, rename, move, multi-select, and drag folders, flows, and subflows.
- Search the active view and filter or sort workspace items by name, date, type, and flow state.
- Apply custom colours and icons to folders and flows.
- Hide, disable, or lock all supported items inside a folder, including nested folders.
- Hide individual subflows from the Explorer.
- Delete folders recursively with a clear warning when contained flows or subflows have nodes.
- Switch between the flow hierarchy and Node-RED's global configuration nodes from the Explorer header.
- Store folder structure, state defaults, and appearance metadata with the flow configuration.
Behaviour
A single click selects a folder, flow, subflow, or node. Selecting a flow or subflow also opens its workspace; double-clicking opens its editor or the selected node's edit dialog.
Use Ctrl/Cmd-click to add or remove individual items from a selection. Use Shift-click for a visible range, or Ctrl/Cmd+Shift-click to extend the current selection. Supported appearance, state, delete, and drag actions apply to the complete selection.
Press F2 to rename the selected item in place. Enter saves, Escape cancels, and the normal cursor keys remain available while editing.
New folders and flows are created in the selected directory and receive collision-safe names such as New folder 2 or New flow 2. A new row stays where it is when already fully visible; otherwise, its parent path opens and the Explorer centres it as far as the available scroll range permits.
Moving a flow or folder into another folder applies that destination's stored hidden, disabled, and locked defaults. Newly created flows always start enabled. Dragging an item onto empty Explorer space moves it to the root.
Folder data is stored in the global environment variable named folders. Collapsed state, sorting, filtering, and the selected Explorer view are browser preferences.
Requirements
- Node-RED 5.0 or newer
- Node.js 22.9 or newer
Contact
Found a bug, have a suggestion, or want to discuss a plugin?
- Start a topic on the Node-RED Forum and tag me.
- Join the Discord community.
License
Licensed under the MIT License.