Skip to content

node-red-contrib-unsafe-function enhancement #10

@hanc2006

Description

@hanc2006

Hi @ozomer , I was inspired by your project and I started adding new features. What I have done so far:

UI

  • Updated the code to use the new function tabs editor (node-red > 1.0)
  • Added the ability to install and uninstall external NPM modules
  • Added the ability to create custom JavaScript modules (stored under the component directory)

TABS
The new node interface is composed as follows:

  • Function
  • Packages
  • Modules

image

FUNCTION TAB
The function tab works the same way as the original one, with the ability to format the code (using js-beautify).

image

PACKAGES TAB
With this tab you can install and uninstall NPM modules.
image

MODULES TAB
This tab lists all the JavaScript modules created by the user. You can create, edit, format code, and delete a module directly from the web interface.

main
image

editor
image
Toolbar options: back, format code, save module, delete module

What do you think about it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions