Skip to content

Introduction ​

node-red-dxp is a toolchain to build packages of Node-RED nodes: a CLI that scaffolds and builds, a Svelte toolkit for the editor, and helpers for the runtime.

Writing a node by hand means juggling a runtime, an editor form, styles, a help page and translations, each with its own tooling. dxp compiles all of it from one folder per node.

How it fits together ​

sh
my-package/
└── src/nodes/my-node/
    ├── my-node.svelte   # editor: definition + form          → bundled into dist/index.html
    ├── controller.ts    # runtime: what happens on a message → bundled into dist/index.js
    ├── docs.md          # help in the Node-RED sidebar
    └── locales/         # translations
You writedxp builds
controller.tsthe runtime of the node (Node.js, CommonJS)
<node>.svelte (or editor/)the editor of the node (browser, one script, scoped CSS)
docs.mdthe help of the node
locales/*.jsonthe translations

Where to go ​

Quick start ​

sh
pnpx @keload/node-red-dxp create

See create, or the manual setup for an existing package.

Bundling strategy ​

dxp is a development dependency: only dist/ is published.

Editor (browser). One script (IIFE) with everything it needs, so nothing is resolved at runtime.

Controller (Node.js). Dependencies are externals (required from the installed package). To bundle a library anyway, list it in the configuration file. The @keload/node-red-dxp helpers are always bundled.

Trusted by community projects ​

Packages built with dxp: see the list.

Version v2.5.0 - Built on 2026-11-20