@gregoriusrippenstein/node-red-scratchpad 0.2.0

Scratchpad for Node-RED.

npm install @gregoriusrippenstein/node-red-scratchpad

Scratch Pad

Provides temporary text fields for pasting and copying temporary text or code.

Inspired by Emacs *scratch* buffer.

Motivation

The scratch-pad is used to store content between edits.

Features

Add Scratch-pads

img

Use the add button to create new scratch-pads and use the delete button to remove them again.

A trashcan clears the contents of the scratch-pad but does not remove the scratch-pad.

If adding new scratches and nodes are selected, then the nodes content will be used to fill the scratches created. One scratch per node is created.

Copy & Paste

img

Take content and store it in a scratch-pad for later usage. Use the copy button to copy content to the clipboard for pasting into a node edit.

Compare

img

Compare two scratch-pads for difference. Use the compare button first by highlighting one scratch-pad and then the second to compare the two.

Storage between reloads

img

Contents of scratch-pads can be stored for later usage. Use the save button to store the content into the flows.json file for later usage.

Execute code in the browser

img

Contents of the scratch is intrepreted as Javascript code and executed directly in the browser. In the example in the screenshot, it a code snippet for highlighting the immediate nodes connected to the selected node.

Artifacts

Node Info

Version: 0.2.0
Updated 4 days ago
License: Don't do evil.
Rating: 5.0 1

Categories

Actions

Rate:

Downloads

13 in the last week

Nodes

  • ScratchPadCfg

Keywords

  • node-red

Maintainers