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

@mkisida/node-red-contrib-function-editor

v1.0.2

Published

A Node-RED custom node with Monaco editor for advanced function node editing, inject node testing

Downloads

12

Readme

@mkisida/node-red-contrib-function-editor

A Node-RED custom node that provides an advanced function editor with Monaco editor integration, inject node testing,

Features

  • Monaco Editor Integration: Full-featured code editor with syntax highlighting, IntelliSense, and error detection
  • Inject Node Testing: Directly trigger connected inject nodes for testing
  • File Management: Extract and organize function code into separate files
  • Multi-deployment Options: HTTP partial and full deployment modes
  • Function Extraction: Pull functions from flows.json into organized file structure

Installation

Via npm

npm install @mkisida/node-red-contrib-function-editor

Via Node-RED Palette Manager

  1. Open Node-RED in your browser
  2. Go to Menu → Manage palette
  3. Click the "Install" tab
  4. Search for @mkisida/node-red-contrib-function-editor
  5. Click "Install"

Manual Installation

  1. Navigate to your Node-RED user directory (typically ~/.node-red)
  2. Run: npm install @mkisida/node-red-contrib-function-editor
  3. Restart Node-RED

Quick Start

  1. Add the Function Editor Node: Drag the "Function Editor" node from the palette into your flow
  2. Configure: Double-click the node to set your preferences:
    • Port: Editor server port (default: 3001)
    • Flows File: Path to your flows.json file (default: ./flows.json)
  3. Deploy: Deploy your flow
  4. Access Editor: Open http://localhost:3001/function-editor in your browser

Usage

Basic Workflow

  1. Extract Functions: Click "Pull Functions" to extract all function nodes from your flows
  2. Edit Code: Select any function file from the tree and edit in the Monaco editor
  3. Test Functions: Use the inject node panel to trigger connected inject nodes
  4. Deploy Changes: Use "Deloy Changes" to update flows.json and deploy modified node

Advanced Features

File Management

  • File Tree: Browse and organize your function files
  • Auto-extraction: Functions are automatically extracted with sanitized filenames

Testing & Debugging

  • Inject Panel: View and trigger inject nodes connected to your functions
  • Real-time Feedback: See inject node payloads and configurations
  • Status Messages: Get feedback on deployment and testing operations

Configuration Options

Node Configuration

| Option | Default | Description | |--------|---------|-------------| | Port | 3001 | Port for the editor web server | | Functions Directory | ./functions | Directory to store function files | | Flows File | ./flows.json | Path to Node-RED flows file |

Deployment Methods

  • HTTP Partial: Updates only modified nodes (recommended)
  • HTTP Full: Replaces entire flow configuration

Requirements

  • Node-RED version 3.0 or higher
  • Node.js version 14 or higher
  • Modern web browser (Chrome, Firefox, Safari, Edge)

This project is licensed under the ISC License - see the LICENSE file for details.

1.0.0

  • Initial release
  • Monaco editor integration
  • Inject node testing
  • File management system
  • HTTP deployment methods